It's not necessary. Setting AVStream.avg_frame_rate is enough. Signed-off-by: James Almer <jamr...@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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".