Commit d04aceb7 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/nutdec: remove unused variable

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b1ad9312
...@@ -792,11 +792,11 @@ static int read_sm_data(AVFormatContext *s, AVIOContext *bc, AVPacket *pkt, int ...@@ -792,11 +792,11 @@ static int read_sm_data(AVFormatContext *s, AVIOContext *bc, AVPacket *pkt, int
for (i=0; i<count; i++) { for (i=0; i<count; i++) {
uint8_t name[256], str_value[256], type_str[256]; uint8_t name[256], str_value[256], type_str[256];
int value, type; int value;
if (avio_tell(bc) >= maxpos) if (avio_tell(bc) >= maxpos)
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
get_str(bc, name, sizeof(name)); get_str(bc, name, sizeof(name));
type = value = get_s(bc); value = get_s(bc);
if (value == -1) { if (value == -1) {
get_str(bc, str_value, sizeof(str_value)); get_str(bc, str_value, sizeof(str_value));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment