]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/vapoursynth.c
avformat: Constify all muxer/demuxers
[ffmpeg] / libavformat / vapoursynth.c
index 69fde1a806c9d51bda17fa1c15c370b6c605cad4..4ec4e77b59e390a68fcebec03872e8d7627e3df1 100644 (file)
@@ -469,7 +469,7 @@ static int read_seek_vs(AVFormatContext *s, int stream_idx, int64_t ts, int flag
     return 0;
 }
 
-static av_cold int probe_vs(AVProbeData *p)
+static av_cold int probe_vs(const AVProbeData *p)
 {
     // Explicitly do not support this. VS scripts are written in Python, and
     // can run arbitrary code on the user's system.
@@ -483,7 +483,7 @@ static const AVClass class_vs = {
     .version    = LIBAVUTIL_VERSION_INT,
 };
 
-AVInputFormat ff_vapoursynth_demuxer = {
+const AVInputFormat ff_vapoursynth_demuxer = {
     .name           = "vapoursynth",
     .long_name      = NULL_IF_CONFIG_SMALL("VapourSynth demuxer"),
     .priv_data_size = sizeof(VSContext),