[FFmpeg-devel] [PATCH 2/4] lavf/rawdec: stop setting codec context framerate
Anton Khirnov
anton at khirnov.net
Tue May 2 12:37:53 EEST 2023
Demuxers are not supposed to do this.
---
libavformat/rawdec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index 9126a9e53b..6b623d366e 100644
--- a/libavformat/rawdec.c
+++ b/libavformat/rawdec.c
@@ -87,7 +87,6 @@ int ff_raw_video_read_header(AVFormatContext *s)
sti->need_parsing = AVSTREAM_PARSE_FULL_RAW;
st->avg_frame_rate = s1->framerate;
- sti->avctx->framerate = s1->framerate;
avpriv_set_pts_info(st, 64, 1, 1200000);
fail:
--
2.39.2
More information about the ffmpeg-devel
mailing list