flvdec: silence unused warning
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Aug 2013 11:05:16 +0000 (13:05 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Aug 2013 11:05:16 +0000 (13:05 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/flvdec.c

index 1941c5f..e0b79bb 100644 (file)
@@ -524,7 +524,8 @@ static int amf_parse_object(AVFormatContext *s, AVStream *astream,
 static int flv_read_metabody(AVFormatContext *s, int64_t next_pos)
 {
     AMFDataType type;
-    AVStream *stream, *astream, *vstream, *dstream;
+    AVStream *stream, *astream, *vstream;
+    AVStream av_unused *dstream;
     AVIOContext *ioc;
     int i;
     // only needs to hold the string "onMetaData".