Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-08-15 20:54:27 +0400
committerDiego Biurrun <diego@biurrun.de>2008-08-15 20:54:27 +0400
commit964454263c1977c0622c9e131fc9a1eef945dfae (patch)
tree224193c613e0e23959c1b582b75efc09a5613e99 /libavformat
parentbcb5430abed15cb8dddcc68fabcccc3a932736df (diff)
Replace generic CONFIG_MUXERS preprocessor condition around format-specific
functions by more appropriate format-specific preprocessor conditions. Originally committed as revision 14781 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/raw.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libavformat/raw.c b/libavformat/raw.c
index 4c4f555fbe..dcf1f8da72 100644
--- a/libavformat/raw.c
+++ b/libavformat/raw.c
@@ -27,8 +27,8 @@
#include "avformat.h"
#include "raw.h"
-#ifdef CONFIG_MUXERS
/* simple formats */
+#ifdef CONFIG_FLAC_MUXER
static int flac_write_header(struct AVFormatContext *s)
{
static const uint8_t header[8] = {
@@ -42,8 +42,9 @@ static int flac_write_header(struct AVFormatContext *s)
}
return 0;
}
+#endif
-
+#ifdef CONFIG_ROQ_MUXER
static int roq_write_header(struct AVFormatContext *s)
{
static const uint8_t header[] = {
@@ -55,12 +56,16 @@ static int roq_write_header(struct AVFormatContext *s)
return 0;
}
+#endif
+#ifdef CONFIG_NULL_MUXER
static int null_write_packet(struct AVFormatContext *s, AVPacket *pkt)
{
return 0;
}
+#endif
+#ifdef CONFIG_MUXERS
static int raw_write_packet(struct AVFormatContext *s, AVPacket *pkt)
{
put_buffer(s->pb, pkt->data, pkt->size);