summaryrefslogtreecommitdiff
path: root/libavformat/cafdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-08-15 22:13:03 +0200
committerDiego Biurrun <diego@biurrun.de>2014-08-19 06:22:07 -0700
commit86dfcfd0e30d6645eea2c63c1c60a0550e7c97ea (patch)
treeed57bb00602ef1a9748c826cc494c39de7828b58 /libavformat/cafdec.c
parent41e1354c101004ccd46dc08d3dd6e956e83a6b51 (diff)
mov: Drop unused parameter from ff_mov_read_esds()
This is cleaner and avoids an uninitialized variable warning with MSVC.
Diffstat (limited to 'libavformat/cafdec.c')
-rw-r--r--libavformat/cafdec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c
index 657462311e..0034f001d0 100644
--- a/libavformat/cafdec.c
+++ b/libavformat/cafdec.c
@@ -109,10 +109,9 @@ static int read_kuki_chunk(AVFormatContext *s, int64_t size)
The lavc AAC decoder requires the data from the codec specific
description as extradata input. */
int strt, skip;
- MOVAtom atom;
strt = avio_tell(pb);
- ff_mov_read_esds(s, pb, atom);
+ ff_mov_read_esds(s, pb);
skip = size - (avio_tell(pb) - strt);
if (skip < 0 || !st->codec->extradata ||
st->codec->codec_id != AV_CODEC_ID_AAC) {