mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-29 19:02:21 +00:00
Drop some pointless #ifdefs.
The files are only compiled if the #ifdef conditions are met.
This commit is contained in:
parent
2130bd8f5b
commit
679481b3b6
@ -114,8 +114,6 @@ int ff_tempfile(const char *prefix, char **filename) {
|
||||
return fd; /* success */
|
||||
}
|
||||
|
||||
#if CONFIG_LIBXVID_ENCODER
|
||||
|
||||
/**
|
||||
* Create the private context for the encoder.
|
||||
* All buffers are allocated, settings are loaded from the user,
|
||||
@ -830,5 +828,3 @@ AVCodec ff_libxvid_encoder = {
|
||||
.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 */
|
||||
|
@ -152,7 +152,6 @@ static void dwt_quantize(SnowContext *s, Plane *p, DWTELEM *buffer, int width, i
|
||||
|
||||
#endif /* QUANTIZE2==1 */
|
||||
|
||||
#if CONFIG_SNOW_ENCODER
|
||||
static av_cold int encode_init(AVCodecContext *avctx)
|
||||
{
|
||||
SnowContext *s = avctx->priv_data;
|
||||
@ -1925,4 +1924,3 @@ AVCodec ff_snow_encoder = {
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Snow"),
|
||||
.priv_class = &snowenc_class,
|
||||
};
|
||||
#endif
|
||||
|
@ -985,7 +985,6 @@ static int nut_read_close(AVFormatContext *s)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if CONFIG_NUT_DEMUXER
|
||||
AVInputFormat ff_nut_demuxer = {
|
||||
.name = "nut",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("NUT format"),
|
||||
@ -1001,4 +1000,3 @@ AVInputFormat ff_nut_demuxer = {
|
||||
ff_nut_subtitle_tags, 0
|
||||
},
|
||||
};
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user