summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-02 13:05:16 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-02 13:05:16 +0200
commit61a28d00e85c1a84138e3d8b4f52e453f8640249 (patch)
tree360bf0850188b896a10f34861dc340bbfd490415
parent2ae5ac78d82049a98416221ab6969b975299c8c7 (diff)
flvdec: silence unused warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/flvdec.c3
1 files changed, 2 insertions, 1 deletions
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".