]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/ncdec.c
Move the functions in h264pred.c into a new file h264pred_internal.h.
[ffmpeg] / libavformat / ncdec.c
index 79a4dbafabfeab1740780c5a0c1f301529e1d2ec..c95b4bde9d8b7c5a415b0ea85e17c7f54883b119 100644 (file)
@@ -73,7 +73,7 @@ static int nc_read_packet(AVFormatContext *s, AVPacket *pkt)
 
     avio_r8(s->pb);
     size = avio_rl16(s->pb);
-    avio_seek(s->pb, 9, SEEK_CUR);
+    avio_skip(s->pb, 9);
 
     if (size == 0) {
         av_log(s, AV_LOG_DEBUG, "Next packet size is zero\n");