Skip to content

Commit

Permalink
avformat/brstm: Remove unused variable
Browse files Browse the repository at this point in the history
Fixes "libavformat/brstm.c:128:35: warning: variable info_size set but not used"

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
  • Loading branch information
michaelni committed Jul 12, 2015
1 parent 944a1aa commit cdb0d7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libavformat/brstm.c
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit cdb0d7e

Please sign in to comment.