[FFmpeg-cvslog] avformat/rawdec: Fix avg_framerate for h264
Michael Niedermayer
git at videolan.org
Tue Jun 7 14:11:49 CEST 2016
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Fri Jun 3 23:59:36 2016 +0200| [a2e6c785cec33d15d1bfde375447b1915cb30ca9] | committer: Michael Niedermayer
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 <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a2e6c785cec33d15d1bfde375447b1915cb30ca9
---
libavformat/rawdec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index 8c734db..5aad1c1 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);
More information about the ffmpeg-cvslog
mailing list