diff options
author | James Almer <jamrial@gmail.com> | 2023-06-17 22:19:16 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-06-20 11:35:21 -0300 |
commit | 3f48815501942d3cd65eab2d61dbe99c4328fd9b (patch) | |
tree | f6694df8b0d292f1609afaed5f189c48dbc3e272 /libavformat | |
parent | 5a2ff4338444b87248e838061214f3d72f1e8447 (diff) | |
download | ffmpeg-3f48815501942d3cd65eab2d61dbe99c4328fd9b.tar.gz |
avformat/evcdec: don't set AVCodecParameters.framerate
It's not necessary. Setting AVStream.avg_frame_rate is enough.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/evcdec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/evcdec.c b/libavformat/evcdec.c index 41b0bceb0c..890babd3cb 100644 --- a/libavformat/evcdec.c +++ b/libavformat/evcdec.c @@ -157,7 +157,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); |