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>
This commit is contained in:
James Almer 2023-06-17 22:19:16 -03:00
parent 5a2ff43384
commit 3f48815501
1 changed files with 0 additions and 1 deletions

View File

@ -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);