[FFmpeg-cvslog] flvdec: silence unused warning

Michael Niedermayer git at videolan.org
Fri Aug 2 13:16:30 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Aug  2 13:05:16 2013 +0200| [61a28d00e85c1a84138e3d8b4f52e453f8640249] | committer: Michael Niedermayer

flvdec: silence unused warning

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=61a28d00e85c1a84138e3d8b4f52e453f8640249
---

 libavformat/flvdec.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 1941c5f..e0b79bb 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -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".



More information about the ffmpeg-cvslog mailing list