changeset 2022:4f62a7d9381a libavformat

Make the declaration of AVInputFormat ac3_demuxer conditional on CONFIG_AC3_DEMUXER.
author diego
date Sun, 15 Apr 2007 12:35:44 +0000
parents d54b738a5bfa
children a3e79d6e4e3c
files raw.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/raw.c	Sun Apr 15 12:32:36 2007 +0000
+++ b/raw.c	Sun Apr 15 12:35:44 2007 +0000
@@ -474,6 +474,7 @@
 };
 #endif //CONFIG_MUXERS
 
+#ifdef CONFIG_AC3_DEMUXER
 AVInputFormat ac3_demuxer = {
     "ac3",
     "raw ac3",
@@ -485,6 +486,7 @@
     .flags= AVFMT_GENERIC_INDEX,
     .extensions = "ac3",
 };
+#endif
 
 #ifdef CONFIG_MUXERS
 AVOutputFormat ac3_muxer = {