]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rsd.c
avformat/mpc: deallocate frames array on errors
[ffmpeg] / libavformat / rsd.c
index 1c99f8c21ca5801c0743504415a805dff212a344..396a431f3461b295805150e12069fbb09fa28fd1 100644 (file)
@@ -41,7 +41,7 @@ static const uint32_t rsd_unsupported_tags[] = {
     MKTAG('O','G','G',' '),
 };
 
-static int rsd_probe(AVProbeData *p)
+static int rsd_probe(const AVProbeData *p)
 {
     if (memcmp(p->buf, "RSD", 3) || p->buf[3] - '0' < 2 || p->buf[3] - '0' > 6)
         return 0;