Browse Source

avformat/nutdec: remove unused variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer 12 years ago
parent
commit
d04aceb7d0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavformat/nutdec.c

+ 2
- 2
libavformat/nutdec.c View File

@@ -792,11 +792,11 @@ static int read_sm_data(AVFormatContext *s, AVIOContext *bc, AVPacket *pkt, int

for (i=0; i<count; i++) {
uint8_t name[256], str_value[256], type_str[256];
int value, type;
int value;
if (avio_tell(bc) >= maxpos)
return AVERROR_INVALIDDATA;
get_str(bc, name, sizeof(name));
type = value = get_s(bc);
value = get_s(bc);

if (value == -1) {
get_str(bc, str_value, sizeof(str_value));


Loading…
Cancel
Save