summaryrefslogtreecommitdiff
path: root/libavformat/yuv4mpeg.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-07-11 07:37:22 +0000
committerDiego Biurrun <diego@biurrun.de>2008-07-11 07:37:22 +0000
commit66b32ce8d0918c1c50e0e8fd91bb197e1e9244ea (patch)
treeb76bb9d360fd627c9d55787a95ba24ded30b9e9b /libavformat/yuv4mpeg.c
parentd7e1fc425434371344d5850ac596037a69df53d0 (diff)
Move functions only used for muxing below #ifdef CONFIG_YUV4MPEGPIPE_MUXER,
fixes some warnings when compiling with muxers disabled. Originally committed as revision 14162 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/yuv4mpeg.c')
-rw-r--r--libavformat/yuv4mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/yuv4mpeg.c b/libavformat/yuv4mpeg.c
index 02f4da98c4..6af7d78a6e 100644
--- a/libavformat/yuv4mpeg.c
+++ b/libavformat/yuv4mpeg.c
@@ -29,6 +29,7 @@ struct frame_attributes {
int top_field_first;
};
+#ifdef CONFIG_YUV4MPEGPIPE_MUXER
static int yuv4_generate_header(AVFormatContext *s, char* buf)
{
AVStream *st;
@@ -166,7 +167,6 @@ static int yuv4_write_header(AVFormatContext *s)
return 0;
}
-#ifdef CONFIG_YUV4MPEGPIPE_MUXER
AVOutputFormat yuv4mpegpipe_muxer = {
"yuv4mpegpipe",
NULL_IF_CONFIG_SMALL("YUV4MPEG pipe format"),