Message ID | 20230502093755.9139-4-anton@khirnov.net |
---|---|
State | Accepted |
Commit | 60ecf44b037c7961ac4e69f83ff315c11c5df922 |
Headers | show |
Series | [FFmpeg-devel,1/4] lavf/demux: use avg_frame_rate for packet durations for notimestamps formats | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavformat/av1dec.c b/libavformat/av1dec.c index ba7fee60cd..216d4e2298 100644 --- a/libavformat/av1dec.c +++ b/libavformat/av1dec.c @@ -80,7 +80,7 @@ static int av1_read_header(AVFormatContext *s) st->codecpar->codec_id = AV_CODEC_ID_AV1; sti->need_parsing = AVSTREAM_PARSE_HEADERS; - sti->avctx->framerate = c->framerate; + st->avg_frame_rate = c->framerate; // taken from rawvideo demuxers avpriv_set_pts_info(st, 64, 1, 1200000);