]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/tta.c
lavf: Constify the probe function argument.
[ffmpeg] / libavformat / tta.c
index ae90a85544c4609a3edbfe8d906445ae0137f54c..467c24455c186f5653975e56d3dea8983d14e627 100644 (file)
@@ -35,7 +35,7 @@ typedef struct TTAContext {
     int last_frame_size;
 } TTAContext;
 
-static int tta_probe(AVProbeData *p)
+static int tta_probe(const AVProbeData *p)
 {
     if (AV_RL32(&p->buf[0]) == MKTAG('T', 'T', 'A', '1') &&
         (AV_RL16(&p->buf[4]) == 1 || AV_RL16(&p->buf[4]) == 2) &&