X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fspdifdec.c;h=d74f58d82baaaac2001853717170ea08aa115cfd;hb=4a660fac9899191d4121cde02f2a98977b1303b6;hp=21bfce422696bf1b63e2a6942e0b112f9cb1d7bb;hpb=94d98330ed6c5562341315c26c1af92771a2e6de;p=ffmpeg diff --git a/libavformat/spdifdec.c b/libavformat/spdifdec.c index 21bfce42269..d74f58d82ba 100644 --- a/libavformat/spdifdec.c +++ b/libavformat/spdifdec.c @@ -107,7 +107,7 @@ static int spdif_get_offset_and_codec(AVFormatContext *s, samples = 4096 */ #define SPDIF_MAX_OFFSET 16384 -static int spdif_probe(AVProbeData *p) +static int spdif_probe(const AVProbeData *p) { enum AVCodecID codec; return ff_spdif_probe (p->buf, p->buf_size, &codec);