]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/ape.c
avcodec/alsdec: Fix integer overflow with buffer number
[ffmpeg] / libavformat / ape.c
index c06db7848083192a1af3d4d047586d326013ba73..977e6f3d18cb8e408106c73eb82bf80c56a3f0f5 100644 (file)
@@ -83,7 +83,7 @@ typedef struct APEContext {
     uint8_t  *bittable;
 } APEContext;
 
-static int ape_probe(AVProbeData * p)
+static int ape_probe(const AVProbeData * p)
 {
     int version = AV_RL16(p->buf+4);
     if (AV_RL32(p->buf) != MKTAG('M', 'A', 'C', ' '))