summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-05-02 10:51:08 +0200
committerAnton Khirnov <anton@khirnov.net>2023-05-05 14:49:40 +0200
commit2850584876e52beaddf7a9f30e9914dad7115618 (patch)
tree125ce9500f02f5503daa23c704c922138d75577d /libavformat
parente38e9f3d54f1bf7402748fba19edcaea19afd060 (diff)
downloadffmpeg-2850584876e52beaddf7a9f30e9914dad7115618.tar.gz
lavf/rawdec: stop setting codec context framerate
Demuxers are not supposed to do this.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rawdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index 9126a9e53b..6b623d366e 100644
--- a/libavformat/rawdec.c
+++ b/libavformat/rawdec.c
@@ -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: