X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Frsd.c;h=396a431f3461b295805150e12069fbb09fa28fd1;hb=da5039415c2bd625085d15e6c92e0b64eefddcbf;hp=1c99f8c21ca5801c0743504415a805dff212a344;hpb=3eea8edf618079e44719fe059ddd953b21ef1ba9;p=ffmpeg diff --git a/libavformat/rsd.c b/libavformat/rsd.c index 1c99f8c21ca..396a431f346 100644 --- a/libavformat/rsd.c +++ b/libavformat/rsd.c @@ -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;