diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-05-29 23:07:34 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-05-30 02:24:01 +0400 |
commit | adba9c63525b8971fc6ccda47e643dca05c3ee9d (patch) | |
tree | 7f4521c4ceaf684a4cdc4f8b57db30a4364c35e0 /libavformat/mmf.c | |
parent | fd38a15adf7f4e20f25d89f162e4a8fbbd8ec92e (diff) |
Fix various unused variable warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mmf.c')
-rw-r--r-- | libavformat/mmf.c | 4 |
1 files changed, 1 insertions, 3 deletions
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) |