X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fdavs2.c;h=59f41fd499445a6efc65d3f94dccae4ea9f634a8;hb=2d8d554f15a7a27cfeca81467cc9341a86f784e2;hp=df2667fec7cf6a3b82e0e7a37dbd5df9cef14f93;hpb=06476249cd2332e30b66576633b2827adf3478dd;p=ffmpeg diff --git a/libavformat/davs2.c b/libavformat/davs2.c index df2667fec7c..59f41fd4994 100644 --- a/libavformat/davs2.c +++ b/libavformat/davs2.c @@ -31,7 +31,7 @@ #define ISUNIT(x) ( ISSQH(x) || ISEND(x) || (x) == 0xB2 || ISPIC(x) || (x) == 0xB5 || (x) == 0xB7 ) #define ISAVS2(x) ((x) == 0x20 || (x) == 0x22 || (x) == 0x30 || (x) == 0x32 ) -static int avs2_probe(AVProbeData *p) +static int avs2_probe(const AVProbeData *p) { uint32_t code= -1, hds=0, pic=0, seq=0; uint8_t state=0;