aboutsummaryrefslogtreecommitdiff
path: root/libavformat/dvenc.c
diff options
context:
space:
mode:
authorDiego Biurrun2008-09-02 22:45:13 +0000
committerDiego Biurrun2008-09-02 22:45:13 +0000
commit8212568a1c0a7cc9b2a2d589dd483135c6e7e02a (patch)
treebaeb558a6d7d6e4f4c8bafabf17ffe7faaccd90f /libavformat/dvenc.c
parentc184318852092d0b4bae4930b373c09b9ad0acf4 (diff)
Replace generic CONFIG_MUXERS preprocessor conditionals by more specific
CONFIG_FOO_MUXER conditionals where appropriate. Originally committed as revision 15158 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/dvenc.c')
-rw-r--r--libavformat/dvenc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavformat/dvenc.c b/libavformat/dvenc.c
index 6d495e3998..7edd7a842b 100644
--- a/libavformat/dvenc.c
+++ b/libavformat/dvenc.c
@@ -359,7 +359,7 @@ void dv_delete_mux(DVMuxContext *c)
av_fifo_free(&c->audio_data[i]);
}
-#ifdef CONFIG_MUXERS
+#ifdef CONFIG_DV_MUXER
static int dv_write_header(AVFormatContext *s)
{
if (!dv_init_mux(s)) {
@@ -397,9 +397,7 @@ static int dv_write_trailer(struct AVFormatContext *s)
dv_delete_mux(s->priv_data);
return 0;
}
-#endif /* CONFIG_MUXERS */
-#ifdef CONFIG_DV_MUXER
AVOutputFormat dv_muxer = {
"dv",
NULL_IF_CONFIG_SMALL("DV video format"),
@@ -412,4 +410,4 @@ AVOutputFormat dv_muxer = {
dv_write_packet,
dv_write_trailer,
};
-#endif
+#endif /* CONFIG_DV_MUXER */