From adba9c63525b8971fc6ccda47e643dca05c3ee9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= <ubitux@gmail.com> Date: Sun, 29 May 2011 21:07:34 +0200 Subject: Fix various unused variable warnings Signed-off-by: Michael Niedermayer <michaelni@gmx.at> --- libavformat/mmf.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libavformat/mmf.c') diff --git a/libavformat/mmf.c b/libavformat/mmf.c index fc6fcc3caa..b75bee3a6b 100644 --- a/libavformat/mmf.c +++ b/libavformat/mmf.c @@ -186,7 +186,7 @@ static int mmf_read_header(AVFormatContext *s, unsigned int tag; AVIOContext *pb = s->pb; AVStream *st; - int64_t file_size, size; + int64_t file_size av_unused, size; int rate, params; tag = avio_rl32(pb); @@ -263,12 +263,10 @@ static int mmf_read_packet(AVFormatContext *s, AVPacket *pkt) { MMFContext *mmf = s->priv_data; - AVStream *st; int ret, size; if (url_feof(s->pb)) return AVERROR(EIO); - st = s->streams[0]; size = MAX_SIZE; if(size > mmf->data_size) -- cgit v1.2.3