]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/tmv.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / tmv.c
index 2e351714bc67d9244bf54297c1acdfef6d2fe71b..507f6cd03290fe259dc24af7510a8e05e3dd9ff5 100644 (file)
@@ -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),