Browse Source

Make the declaration of AVInputFormat ac3_demuxer conditional

on CONFIG_AC3_DEMUXER.

Originally committed as revision 8741 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Diego Biurrun 18 years ago
parent
commit
cefd4907e3
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/raw.c

+ 2
- 0
libavformat/raw.c View File

@@ -474,6 +474,7 @@ AVOutputFormat flac_muxer = {
}; };
#endif //CONFIG_MUXERS #endif //CONFIG_MUXERS


#ifdef CONFIG_AC3_DEMUXER
AVInputFormat ac3_demuxer = { AVInputFormat ac3_demuxer = {
"ac3", "ac3",
"raw ac3", "raw ac3",
@@ -485,6 +486,7 @@ AVInputFormat ac3_demuxer = {
.flags= AVFMT_GENERIC_INDEX, .flags= AVFMT_GENERIC_INDEX,
.extensions = "ac3", .extensions = "ac3",
}; };
#endif


#ifdef CONFIG_MUXERS #ifdef CONFIG_MUXERS
AVOutputFormat ac3_muxer = { AVOutputFormat ac3_muxer = {


Loading…
Cancel
Save