Make the declaration of AVInputFormat ac3_demuxer conditional

on CONFIG_AC3_DEMUXER.

Originally committed as revision 8741 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2007-04-15 12:35:44 +00:00
parent 03a76ba9f8
commit cefd4907e3

View File

@ -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 = {