[FFmpeg-cvslog] avformat/nutdec: remove unused variable
Michael Niedermayer
git at videolan.org
Sun Jan 5 18:54:28 CET 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jan 5 17:27:23 2014 +0100| [d04aceb7d03233ccdfb572802593961830e695a6] | committer: Michael Niedermayer
avformat/nutdec: remove unused variable
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d04aceb7d03233ccdfb572802593961830e695a6
---
libavformat/nutdec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index 6eb9ba6..2adc860 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));
More information about the ffmpeg-cvslog
mailing list