]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/eacdata.c
Partial rewrite stream probe code.
[ffmpeg] / libavformat / eacdata.c
index 8fc8c4221e892def665f41a521de607bc486f0a4..7b109ff888cf36b17b62880a556b63a3298702f0 100644 (file)
@@ -62,7 +62,7 @@ static int cdata_read_header(AVFormatContext *s, AVFormatParameters *ap)
     };
 
     sample_rate = avio_rb16(pb);
-    avio_seek(pb, 12, SEEK_CUR);
+    avio_skip(pb, 12);
 
     st = av_new_stream(s, 0);
     if (!st)