X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Ftmv.c;h=b74af547c54865bb6e50a3541afe72423b43502b;hb=af9e622776c9268fd473cc23a0fd6b29f0017f64;hp=2e351714bc67d9244bf54297c1acdfef6d2fe71b;hpb=b1b0e532583e26f18ba27f3cc8775dbd62f3bc2b;p=ffmpeg diff --git a/libavformat/tmv.c b/libavformat/tmv.c index 2e351714bc6..b74af547c54 100644 --- a/libavformat/tmv.c +++ b/libavformat/tmv.c @@ -51,7 +51,7 @@ typedef struct TMVContext { #define PROBE_MAX_FPS 120 #define PROBE_MIN_AUDIO_SIZE (PROBE_MIN_SAMPLE_RATE / PROBE_MAX_FPS) -static int tmv_probe(AVProbeData *p) +static int tmv_probe(const AVProbeData *p) { if (AV_RL32(p->buf) == TMV_TAG && AV_RL16(p->buf+4) >= PROBE_MIN_SAMPLE_RATE &&