OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aab27b
)
Make sure that eac3_decoder only gets enabled when CONFIG_EAC3_DECODER is set.
author
Diego Biurrun
<diego@biurrun.de>
Thu, 23 Jul 2009 00:15:23 +0000
(
00:15
+0000)
committer
Diego Biurrun
<diego@biurrun.de>
Thu, 23 Jul 2009 00:15:23 +0000
(
00:15
+0000)
Originally committed as revision 19500 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/ac3dec.c
b/libavcodec/ac3dec.c
index
99cd4e4
..
79bfd24
100644
(file)
--- 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