]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/nsvdec.c
sbgdec: read_seek was undeprecated.
[ffmpeg] / libavformat / nsvdec.c
index d581cfb50e4409d36a885567c8846a8ad02e8e35..87abce9b219aa86ada2cdd2f0ca1a9829df64247 100644 (file)
@@ -272,7 +272,7 @@ static int nsv_parse_NSVf_header(AVFormatContext *s)
 {
     NSVContext *nsv = s->priv_data;
     AVIOContext *pb = s->pb;
-    unsigned int av_unused file_size;
+    unsigned int file_size;
     unsigned int size;
     int64_t duration;
     int strings_size;
@@ -565,7 +565,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);
 
@@ -595,6 +594,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",