1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavf/rawdec: stop setting codec context framerate

Demuxers are not supposed to do this.
This commit is contained in:
Anton Khirnov 2023-05-02 10:51:08 +02:00
parent e38e9f3d54
commit 2850584876

View File

@ -87,7 +87,6 @@ int ff_raw_video_read_header(AVFormatContext *s)
sti->need_parsing = AVSTREAM_PARSE_FULL_RAW;
st->avg_frame_rate = s1->framerate;
sti->avctx->framerate = s1->framerate;
avpriv_set_pts_info(st, 64, 1, 1200000);
fail: