From cefd4907e37112bc1f7ec5e0f0f2f7247ecf8150 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 15 Apr 2007 12:35:44 +0000 Subject: Make the declaration of AVInputFormat ac3_demuxer conditional on CONFIG_AC3_DEMUXER. Originally committed as revision 8741 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/raw.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavformat/raw.c') 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 = { -- cgit v1.2.3