The files are only compiled if the #ifdef conditions are met.
return fd; /* success */
}
-#if CONFIG_LIBXVID_ENCODER
-
/**
* Create the private context for the encoder.
* All buffers are allocated, settings are loaded from the user,
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
.long_name = NULL_IF_CONFIG_SMALL("libxvidcore MPEG-4 part 2"),
};
-
-#endif /* CONFIG_LIBXVID_ENCODER */
#endif /* QUANTIZE2==1 */
-#if CONFIG_SNOW_ENCODER
static av_cold int encode_init(AVCodecContext *avctx)
{
SnowContext *s = avctx->priv_data;
.long_name = NULL_IF_CONFIG_SMALL("Snow"),
.priv_class = &snowenc_class,
};
-#endif
return 0;
}
-#if CONFIG_NUT_DEMUXER
AVInputFormat ff_nut_demuxer = {
.name = "nut",
.long_name = NULL_IF_CONFIG_SMALL("NUT format"),
ff_nut_subtitle_tags, 0
},
};
-#endif