Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-04-03 18:34:15 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-04-03 18:56:02 +0300
commit06c4ed0c0e349602ae6ca31c39693f73bce9bf61 (patch)
tree81b422157732928524192f8dadc0ba3c0beb86cf /libavformat
parent25a01c52b889d64e77fb3f8f7e519d183d7635b8 (diff)
avformat/wavdec: fix typo with len
Found-by: carl Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/wavdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c
index c62096350e..ac98fa99d7 100644
--- a/libavformat/wavdec.c
+++ b/libavformat/wavdec.c
@@ -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)