aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/serdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-11 15:34:42 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-14 12:32:02 +0200
commit830b5cc35ef0a28992a4d9fe90a1ccf612be45fa (patch)
treef81cfeb4bb0077565022a7453c9db7ce07fb9a51 /libavformat/serdec.c
parentd0b03b4182752e7e1198108210e70f8bb5a79547 (diff)
downloadffmpeg-830b5cc35ef0a28992a4d9fe90a1ccf612be45fa.tar.gz
avformat: Inline raw_codec_id where known
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/serdec.c')
-rw-r--r--libavformat/serdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/serdec.c b/libavformat/serdec.c
index 11add35b32..639c899249 100644
--- a/libavformat/serdec.c
+++ b/libavformat/serdec.c
@@ -80,7 +80,7 @@ static int ser_read_header(AVFormatContext *s)
}
st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO;
- st->codecpar->codec_id = s->iformat->raw_codec_id;
+ st->codecpar->codec_id = AV_CODEC_ID_RAWVIDEO;
avpriv_set_pts_info(st, 64, ser->framerate.den, ser->framerate.num);