diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-06-11 12:40:28 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-06-17 00:53:06 +0000 |
commit | 137e80817d00fca7a5f6ff6d4fc672fcfe4ad501 (patch) | |
tree | ff95f61379c6eec9990d17998b64f991c408a670 /libavcodec/mlpdec.c | |
parent | 17fad33f81c7e9787fcdc17934fc1eee6c6aa4bf (diff) | |
download | ffmpeg-137e80817d00fca7a5f6ff6d4fc672fcfe4ad501.tar.gz |
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>
Diffstat (limited to 'libavcodec/mlpdec.c')
-rw-r--r-- | libavcodec/mlpdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mlpdec.c b/libavcodec/mlpdec.c index a2a6c91bfa..a8980129e2 100644 --- a/libavcodec/mlpdec.c +++ b/libavcodec/mlpdec.c @@ -1199,6 +1199,7 @@ error: return AVERROR_INVALIDDATA; } +#if CONFIG_MLP_DECODER AVCodec ff_mlp_decoder = { .name = "mlp", .type = AVMEDIA_TYPE_AUDIO, @@ -1209,7 +1210,7 @@ AVCodec ff_mlp_decoder = { .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("MLP (Meridian Lossless Packing)"), }; - +#endif #if CONFIG_TRUEHD_DECODER AVCodec ff_truehd_decoder = { .name = "truehd", |