summaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3enc_float.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-06-11 05:48:30 -0700
committerDiego Biurrun <diego@biurrun.de>2014-06-12 07:10:18 -0700
commitdca7ba4bffe3e4aeb620cb62955256a0d87561f4 (patch)
tree3d769fca651f0a9aad03a8dbd69e39b2dbbb0bbe /libavcodec/ac3enc_float.c
parent48e50921337984ba4ec2c1cafe45d43787f84498 (diff)
downloadffmpeg-streaming-dca7ba4bffe3e4aeb620cb62955256a0d87561f4.zip
ffmpeg-streaming-dca7ba4bffe3e4aeb620cb62955256a0d87561f4.tar.gz
Remove some unnecessary CONFIG_FOO_COMPONENT ifdefs
The files are only ever compiled if that condition is true.
Diffstat (limited to 'libavcodec/ac3enc_float.c')
-rw-r--r--libavcodec/ac3enc_float.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/ac3enc_float.c b/libavcodec/ac3enc_float.c
index 71db68c..03b782c 100644
--- a/libavcodec/ac3enc_float.c
+++ b/libavcodec/ac3enc_float.c
@@ -33,12 +33,10 @@
#include "kbdwin.h"
-#if CONFIG_AC3_ENCODER
#define AC3ENC_TYPE AC3ENC_TYPE_AC3
#include "ac3enc_opts_template.c"
static const AVClass ac3enc_class = { "AC-3 Encoder", av_default_item_name,
ac3_options, LIBAVUTIL_VERSION_INT };
-#endif
#include "ac3enc_template.c"
@@ -127,7 +125,6 @@ static CoefType calc_cpl_coord(CoefSumType energy_ch, CoefSumType energy_cpl)
}
-#if CONFIG_AC3_ENCODER
AVCodec ff_ac3_encoder = {
.name = "ac3",
.long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
@@ -143,4 +140,3 @@ AVCodec ff_ac3_encoder = {
.channel_layouts = ff_ac3_channel_layouts,
.defaults = ac3_defaults,
};
-#endif
OpenPOWER on IntegriCloud