[FFmpeg-devel] [PATCH 15/17] avformat/evcdec: don't set AVCodecParameters.framerate
James Almer
jamrial at gmail.com
Mon Jun 19 02:43:30 EEST 2023
It's not necessary. Setting AVStream.avg_frame_rate is enough.
Signed-off-by: James Almer <jamrial at gmail.com>
---
libavformat/evcdec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavformat/evcdec.c b/libavformat/evcdec.c
index a3a41cb4a5..3cadbc1530 100644
--- a/libavformat/evcdec.c
+++ b/libavformat/evcdec.c
@@ -119,7 +119,6 @@ static int evc_read_header(AVFormatContext *s)
sti->need_parsing = AVSTREAM_PARSE_HEADERS;
st->avg_frame_rate = c->framerate;
- st->codecpar->framerate = c->framerate;
// taken from rawvideo demuxers
avpriv_set_pts_info(st, 64, 1, 1200000);
--
2.41.0
More information about the ffmpeg-devel
mailing list