aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-05 17:27:23 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-05 17:27:23 +0100
commitd04aceb7d03233ccdfb572802593961830e695a6 (patch)
tree50a6677610f1526127c3b52fd703d8c20fb01458
parentb1ad9312331759679a9c956233716a67ae681d89 (diff)
downloadffmpeg-d04aceb7d03233ccdfb572802593961830e695a6.tar.gz
avformat/nutdec: remove unused variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/nutdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index 6eb9ba6970..2adc860f32 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -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));