lavc: build some codecs only if they are actually enabled
Saves few bytes if only some of them in same file are enabled. Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
17fad33f81
commit
137e80817d
13 changed files with 56 additions and 15 deletions
|
|
@ -683,6 +683,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if CONFIG_IFF_ILBM_DECODER
|
||||
AVCodec ff_iff_ilbm_decoder = {
|
||||
.name = "iff_ilbm",
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
|
@ -694,7 +695,8 @@ AVCodec ff_iff_ilbm_decoder = {
|
|||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("IFF ILBM"),
|
||||
};
|
||||
|
||||
#endif
|
||||
#if CONFIG_IFF_BYTERUN1_DECODER
|
||||
AVCodec ff_iff_byterun1_decoder = {
|
||||
.name = "iff_byterun1",
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
|
@ -706,3 +708,4 @@ AVCodec ff_iff_byterun1_decoder = {
|
|||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("IFF ByteRun1"),
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue