]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/nsvdec.c
Improve channel count and bitrate error handling in wmav* encode_init()
[ffmpeg] / libavformat / nsvdec.c
index 3bfebb263cfa67bfa7ca797aa2bb2e355ce0d368..4b294d359174a196da054deba4c6b646e6d42a1e 100644 (file)
@@ -584,7 +584,7 @@ null_chunk_retry:
               ((auxtag >> 16) & 0x0ff),
               ((auxtag >> 24) & 0x0ff),
               auxsize);
-        avio_seek(pb, auxsize, SEEK_CUR);
+        avio_skip(pb, auxsize);
         vsize -= auxsize + sizeof(uint16_t) + sizeof(uint32_t); /* that's becoming braindead */
     }