summaryrefslogtreecommitdiff
path: root/libavformat/nsvdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-02-10 15:10:42 +0100
committerDiego Biurrun <diego@biurrun.de>2012-02-13 19:20:54 +0100
commit6df5c528ca045ab4b65f2a529a8e8bd2642f47e5 (patch)
tree553b52982dcb76a8158862571f1f9b7cc7106644 /libavformat/nsvdec.c
parent7331b6e718243c276d391898199e08ba3cdb9545 (diff)
Move some conditionally used variables into the block where they are used.
This allows dropping the av_unused argument from them.
Diffstat (limited to 'libavformat/nsvdec.c')
-rw-r--r--libavformat/nsvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c
index 375463e96e..1a160c5de9 100644
--- a/libavformat/nsvdec.c
+++ b/libavformat/nsvdec.c
@@ -566,7 +566,6 @@ static int nsv_read_chunk(AVFormatContext *s, int fill_header)
uint32_t vsize;
uint16_t asize;
uint16_t auxsize;
- uint32_t av_unused auxtag;
av_dlog(s, "%s(%d)\n", __FUNCTION__, fill_header);
@@ -596,6 +595,7 @@ null_chunk_retry:
av_dlog(s, "NSV CHUNK %d aux, %u bytes video, %d bytes audio\n", auxcount, vsize, asize);
/* skip aux stuff */
for (i = 0; i < auxcount; i++) {
+ uint32_t auxtag;
auxsize = avio_rl16(pb);
auxtag = avio_rl32(pb);
av_dlog(s, "NSV aux data: '%c%c%c%c', %d bytes\n",