X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fpaf.c;h=b3c8e786bc16b1ea63e46ff88af30598dfe93716;hb=025fcee6fa208dd484a419ecf29c3e70038a5e34;hp=fa30cdd72a0c0e83516bb5404c834e5e0815317b;hpb=64425e005edf3bdd77c34c078c3e74ab5ecef557;p=ffmpeg diff --git a/libavformat/paf.c b/libavformat/paf.c index fa30cdd72a0..b3c8e786bc1 100644 --- a/libavformat/paf.c +++ b/libavformat/paf.c @@ -53,7 +53,7 @@ typedef struct PAFDemuxContext { int got_audio; } PAFDemuxContext; -static int read_probe(AVProbeData *p) +static int read_probe(const AVProbeData *p) { if ((p->buf_size >= strlen(MAGIC)) && !memcmp(p->buf, MAGIC, strlen(MAGIC)))