[FFmpeg-cvslog] r19500 - trunk/libavcodec/ac3dec.c
diego
subversion
Thu Jul 23 02:15:24 CEST 2009
Author: diego
Date: Thu Jul 23 02:15:23 2009
New Revision: 19500
Log:
Make sure that eac3_decoder only gets enabled when CONFIG_EAC3_DECODER is set.
Modified:
trunk/libavcodec/ac3dec.c
Modified: trunk/libavcodec/ac3dec.c
==============================================================================
--- trunk/libavcodec/ac3dec.c Thu Jul 23 01:37:53 2009 (r19499)
+++ trunk/libavcodec/ac3dec.c Thu Jul 23 02:15:23 2009 (r19500)
@@ -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
More information about the ffmpeg-cvslog
mailing list