summaryrefslogtreecommitdiff
path: root/libavformat/mp3.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-09-02 22:45:13 +0000
committerDiego Biurrun <diego@biurrun.de>2008-09-02 22:45:13 +0000
commit8212568a1c0a7cc9b2a2d589dd483135c6e7e02a (patch)
treebaeb558a6d7d6e4f4c8bafabf17ffe7faaccd90f /libavformat/mp3.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/mp3.c')
-rw-r--r--libavformat/mp3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mp3.c b/libavformat/mp3.c
index ae63d6c341..efe494402b 100644
--- a/libavformat/mp3.c
+++ b/libavformat/mp3.c
@@ -521,7 +521,7 @@ static int mp3_read_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
-#ifdef CONFIG_MUXERS
+#if defined(CONFIG_MP2_MUXER) || defined(CONFIG_MP3_MUXER)
static void id3v1_create_tag(AVFormatContext *s, uint8_t *buf)
{
int v, i;
@@ -639,7 +639,7 @@ static int mp3_write_trailer(struct AVFormatContext *s)
}
return 0;
}
-#endif //CONFIG_MUXERS
+#endif /* defined(CONFIG_MP2_MUXER) || defined(CONFIG_MP3_MUXER) */
#ifdef CONFIG_MP3_DEMUXER
AVInputFormat mp3_demuxer = {