changeset 3559:6edd87f61261 libavformat

Move functions only used for muxing below #ifdef CONFIG_YUV4MPEGPIPE_MUXER, fixes some warnings when compiling with muxers disabled.
author diego
date Fri, 11 Jul 2008 07:37:22 +0000
parents f615c35681cf
children 507108c26477
files yuv4mpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/yuv4mpeg.c	Thu Jul 10 11:41:06 2008 +0000
+++ b/yuv4mpeg.c	Fri Jul 11 07:37:22 2008 +0000
@@ -29,6 +29,7 @@
     int top_field_first;
 };
 
+#ifdef CONFIG_YUV4MPEGPIPE_MUXER
 static int yuv4_generate_header(AVFormatContext *s, char* buf)
 {
     AVStream *st;
@@ -166,7 +167,6 @@
     return 0;
 }
 
-#ifdef CONFIG_YUV4MPEGPIPE_MUXER
 AVOutputFormat yuv4mpegpipe_muxer = {
     "yuv4mpegpipe",
     NULL_IF_CONFIG_SMALL("YUV4MPEG pipe format"),