From 86dfcfd0e30d6645eea2c63c1c60a0550e7c97ea Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 15 Aug 2014 22:13:03 +0200 Subject: mov: Drop unused parameter from ff_mov_read_esds() This is cleaner and avoids an uninitialized variable warning with MSVC. --- libavformat/cafdec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libavformat/cafdec.c') 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) { -- cgit v1.2.3