Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> --- tools/uncoded_frame.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/uncoded_frame.c b/tools/uncoded_frame.c index 3ca2ba4..f0def44 100644 --- a/tools/uncoded_frame.c +++ b/tools/uncoded_frame.c @@ -169,8 +169,8 @@ int main(int argc, char **argv) switch (st->link->type) { case AVMEDIA_TYPE_VIDEO: st->stream->codec->codec_id = AV_CODEC_ID_RAWVIDEO; - st->stream->avg_frame_rate = - st->stream-> r_frame_rate = av_buffersink_get_frame_rate(st->sink); + st->stream->avg_frame_rate = av_buffersink_get_frame_rate(st->sink); + av_stream_set_r_frame_rate(st->stream, st->stream->avg_frame_rate); st->stream->codec->width = st->link->w; st->stream->codec->height = st->link->h; st->stream->codec->sample_aspect_ratio = st->link->sample_aspect_ratio; -- 1.7.9.5 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel