]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/sierravmd.c
mpc8: Check return value of avio_seek and avoid modifying state if it fails
[ffmpeg] / libavformat / sierravmd.c
index 81ff46fea0e953fad7fc518d9d22f394bf5c06ef..48b192e04cb12449238e4a805684dd22620ff608 100644 (file)
@@ -78,8 +78,7 @@ static int vmd_probe(AVProbeData *p)
     return AVPROBE_SCORE_MAX / 2;
 }
 
-static int vmd_read_header(AVFormatContext *s,
-                           AVFormatParameters *ap)
+static int vmd_read_header(AVFormatContext *s)
 {
     VmdDemuxContext *vmd = s->priv_data;
     AVIOContext *pb = s->pb;