X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Ftmv.c;h=507f6cd03290fe259dc24af7510a8e05e3dd9ff5;hb=bd96c54fe4819b3ca9a975e2083d67f4443c559b;hp=2e351714bc67d9244bf54297c1acdfef6d2fe71b;hpb=23ce57af3ad684363881cdd66d5724f40963a65c;p=ffmpeg diff --git a/libavformat/tmv.c b/libavformat/tmv.c index 2e351714bc6..507f6cd0329 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 && @@ -187,7 +187,7 @@ static int tmv_read_seek(AVFormatContext *s, int stream_index, return 0; } -AVInputFormat ff_tmv_demuxer = { +const AVInputFormat ff_tmv_demuxer = { .name = "tmv", .long_name = NULL_IF_CONFIG_SMALL("8088flex TMV"), .priv_data_size = sizeof(TMVContext),