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