aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/wady.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-17 20:32:24 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-26 06:36:43 +0100
commit69b85a69bdf0273c17c55adda15a7c1ddf6771bc (patch)
treeeafc6b002d70843e4c0b24cec79a394c30a66f5c /libavformat/wady.c
parentcdff5a2c0cfa978b97398dd4e95cc2a292d05525 (diff)
downloadffmpeg-69b85a69bdf0273c17c55adda15a7c1ddf6771bc.tar.gz
avformat/wady: Combine skips
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/wady.c')
-rw-r--r--libavformat/wady.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/wady.c b/libavformat/wady.c
index 81a64c6d3f..a6c61ffcaa 100644
--- a/libavformat/wady.c
+++ b/libavformat/wady.c
@@ -46,13 +46,12 @@ static int wady_read_header(AVFormatContext *s)
int channels, ret;
AVStream *st;
- avio_skip(pb, 4);
+ avio_skip(pb, 4 + 1);
st = avformat_new_stream(s, NULL);
if (!st)
return AVERROR(ENOMEM);
- avio_skip(pb, 1);
par = st->codecpar;
par->codec_type = AVMEDIA_TYPE_AUDIO;
par->codec_id = AV_CODEC_ID_WADY_DPCM;