Commit 06c4ed0c authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/wavdec: fix typo with len

Found-by: carl
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 25a01c52
......@@ -65,8 +65,8 @@ static void set_spdif(AVFormatContext *s, WAVDemuxContext *wav)
if (CONFIG_SPDIF_DEMUXER && s->streams[0]->codec->codec_tag == 1) {
enum AVCodecID codec;
uint8_t *buf = NULL;
int ret = ffio_ensure_seekback(s->pb, sizeof(buf));
int len = 1<<16;
int ret = ffio_ensure_seekback(s->pb, len);
int64_t pos = avio_tell(s->pb);
if (ret < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment