diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-07-23 00:15:23 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-07-23 00:15:23 +0000 |
commit | 89547cfb3657c540c4e6ac662a736dd79235e2ae (patch) | |
tree | 90771706fab0afc42b595302f2bf8bf47188955f /libavcodec/ac3dec.c | |
parent | 3aab27b4599911aad2fd9dc14cdc66414bf27eb3 (diff) | |
download | ffmpeg-89547cfb3657c540c4e6ac662a736dd79235e2ae.tar.gz |
Make sure that eac3_decoder only gets enabled when CONFIG_EAC3_DECODER is set.
Originally committed as revision 19500 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r-- | libavcodec/ac3dec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 99cd4e4e07..79bfd24771 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -1355,6 +1355,7 @@ AVCodec ac3_decoder = { .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"), }; +#if CONFIG_EAC3_DECODER AVCodec eac3_decoder = { .name = "eac3", .type = CODEC_TYPE_AUDIO, @@ -1365,3 +1366,4 @@ AVCodec eac3_decoder = { .decode = ac3_decode_frame, .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52B (AC-3, E-AC-3)"), }; +#endif |