OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df5c52
)
matroskadec: Mark variable as av_unused.
author
Diego Biurrun
<diego@biurrun.de>
Sun, 12 Feb 2012 09:58:46 +0000
(10:58 +0100)
committer
Diego Biurrun
<diego@biurrun.de>
Mon, 13 Feb 2012 18:20:54 +0000
(19:20 +0100)
This avoids unused variable warnings when zlib/bzlib are not available.
libavformat/matroskadec.c
patch
|
blob
|
history
diff --git
a/libavformat/matroskadec.c
b/libavformat/matroskadec.c
index
8f34289
..
ca211a2
100644
(file)
--- 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;