summaryrefslogtreecommitdiff
path: root/libavformat/matroskadec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-02-12 10:58:46 +0100
committerDiego Biurrun <diego@biurrun.de>2012-02-13 19:20:54 +0100
commit529506b5f618bde1e6a2255b5320501d8e824fc7 (patch)
tree5f68c1a44acedd19bc869a9ab6e5f67daace2b55 /libavformat/matroskadec.c
parent6df5c528ca045ab4b65f2a529a8e8bd2642f47e5 (diff)
matroskadec: Mark variable as av_unused.
This avoids unused variable warnings when zlib/bzlib are not available.
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r--libavformat/matroskadec.c2
1 files changed, 1 insertions, 1 deletions
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;