char dummy;
const VSVideoInfo *info;
struct VSState *vss_state;
- int err;
+ int err = 0;
vss_state = av_mallocz(sizeof(*vss_state));
if (!vss_state) {
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.
.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),