diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-10 16:35:44 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-12 12:17:40 +0200 |
commit | cdb0d7e43993b4f49856a999c538bf01f48b4ad8 (patch) | |
tree | 41d13a6c9a4a06b195734e0b12b8c48b0d278cea /libavformat/brstm.c | |
parent | 944a1aa3c5949deeb3724945f13b9878874658c2 (diff) | |
download | ffmpeg-cdb0d7e43993b4f49856a999c538bf01f48b4ad8.tar.gz |
avformat/brstm: Remove unused variable
Fixes "libavformat/brstm.c:128:35: warning: variable info_size set but not used"
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/brstm.c')
-rw-r--r-- | libavformat/brstm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 291a4628bc..f2bc038840 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -125,7 +125,7 @@ static int read_header(AVFormatContext *s) if (avio_rl32(s->pb) != MKTAG('H','E','A','D')) return AVERROR_INVALIDDATA; } else { - uint32_t info_offset = 0, info_size; + uint32_t info_offset = 0; uint16_t section_count, header_size, i; header_size = read16(s); // 6 @@ -142,7 +142,7 @@ static int read_header(AVFormatContext *s) switch (flag) { case 0x4000: info_offset = read32(s); - info_size = read32(s); + /*info_size =*/ read32(s); break; case 0x4001: avio_skip(s->pb, 4); // seek offset |