X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fcodec2.c;h=0d7c488587d67c4d7c892f1824446fc2537fd3d6;hb=5f64f6058e0c23641a68ce7dfe47b1f55efd401c;hp=28dbbd8176f443f7fa9c87a4571f7aa6b3f0922a;hpb=23ce57af3ad684363881cdd66d5724f40963a65c;p=ffmpeg diff --git a/libavformat/codec2.c b/libavformat/codec2.c index 28dbbd8176f..0d7c488587d 100644 --- a/libavformat/codec2.c +++ b/libavformat/codec2.c @@ -43,7 +43,7 @@ typedef struct { int frames_per_packet; } Codec2Context; -static int codec2_probe(AVProbeData *p) +static int codec2_probe(const AVProbeData *p) { //must start wih C0 DE C2 if (AV_RB24(p->buf) != AVPRIV_CODEC2_MAGIC) {