From: Diego Biurrun Date: Sun, 12 Feb 2012 09:58:46 +0000 (+0100) Subject: matroskadec: Mark variable as av_unused. X-Git-Tag: v9_beta1~2996 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=529506b5f618bde1e6a2255b5320501d8e824fc7;p=platform%2Fupstream%2Flibav.git matroskadec: Mark variable as av_unused. This avoids unused variable warnings when zlib/bzlib are not available. --- diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 8f34289..ca211a2 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;