From: Michael Niedermayer Date: Fri, 3 Jun 2016 21:59:36 +0000 (+0200) Subject: avformat/rawdec: Fix avg_framerate for h264 X-Git-Tag: android-x86-7.1-r1~4990 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a2e6c785cec33d15d1bfde375447b1915cb30ca9;p=android-x86%2Fexternal-ffmpeg.git avformat/rawdec: Fix avg_framerate for h264 The framerate is 25 which is a fixed default and is wrong undo the 1 line change which caused this regression Only the avg_frame rate setting is removed The timebase update is not done as there was a objection (see ML) Fixes Ticket 5444 Signed-off-by: Michael Niedermayer --- diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index 8c734dbb30..5aad1c1fff 100644 --- a/libavformat/rawdec.c +++ b/libavformat/rawdec.c @@ -84,7 +84,6 @@ int ff_raw_video_read_header(AVFormatContext *s) st->codecpar->codec_id = s->iformat->raw_codec_id; st->need_parsing = AVSTREAM_PARSE_FULL_RAW; - st->avg_frame_rate = s1->framerate; st->internal->avctx->framerate = s1->framerate; avpriv_set_pts_info(st, 64, 1, 1200000);