From 529506b5f618bde1e6a2255b5320501d8e824fc7 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 12 Feb 2012 10:58:46 +0100 Subject: [PATCH] matroskadec: Mark variable as av_unused. This avoids unused variable warnings when zlib/bzlib are not available. --- libavformat/matroskadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 8f34289eb5..ca211a2786 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -939,7 +939,7 @@ static int matroska_decode_buffer(uint8_t** buf, int* buf_size, uint8_t* data = *buf; int isize = *buf_size; uint8_t* pkt_data = NULL; - uint8_t* newpktdata; + uint8_t av_unused *newpktdata; int pkt_size = isize; int result = 0; int olen;