summaryrefslogtreecommitdiff
path: root/libavformat/raw.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-04-15 12:35:44 +0000
committerDiego Biurrun <diego@biurrun.de>2007-04-15 12:35:44 +0000
commitcefd4907e37112bc1f7ec5e0f0f2f7247ecf8150 (patch)
tree5e25f4c2c192b47c79776df464949bffdf53e981 /libavformat/raw.c
parent03a76ba9f859dfc4964ce48a73cb9b88be662091 (diff)
Make the declaration of AVInputFormat ac3_demuxer conditional
on CONFIG_AC3_DEMUXER. Originally committed as revision 8741 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/raw.c')
-rw-r--r--libavformat/raw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/raw.c b/libavformat/raw.c
index 81531a60f6..f61d87b65e 100644
--- a/libavformat/raw.c
+++ b/libavformat/raw.c
@@ -474,6 +474,7 @@ AVOutputFormat flac_muxer = {
};
#endif //CONFIG_MUXERS
+#ifdef CONFIG_AC3_DEMUXER
AVInputFormat ac3_demuxer = {
"ac3",
"raw ac3",
@@ -485,6 +486,7 @@ AVInputFormat ac3_demuxer = {
.flags= AVFMT_GENERIC_INDEX,
.extensions = "ac3",
};
+#endif
#ifdef CONFIG_MUXERS
AVOutputFormat ac3_muxer = {