summaryrefslogtreecommitdiff
path: root/libavformat/evcdec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-06-17 22:19:16 -0300
committerJames Almer <jamrial@gmail.com>2023-06-20 11:35:21 -0300
commit3f48815501942d3cd65eab2d61dbe99c4328fd9b (patch)
treef6694df8b0d292f1609afaed5f189c48dbc3e272 /libavformat/evcdec.c
parent5a2ff4338444b87248e838061214f3d72f1e8447 (diff)
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/evcdec.c')
-rw-r--r--libavformat/evcdec.c1
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);