From 61a28d00e85c1a84138e3d8b4f52e453f8640249 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 2 Aug 2013 13:05:16 +0200 Subject: [PATCH] flvdec: silence unused warning Signed-off-by: Michael Niedermayer --- libavformat/flvdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 1941c5ffee..e0b79bb754 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".