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

avformat/wavdec: fix typo with len

Found-by: carl
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2016-04-03 17:34:15 +02:00
parent 25a01c52b8
commit 06c4ed0c0e

View File

@ -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)