[FFmpeg-cvslog] r14162 - trunk/libavformat/yuv4mpeg.c
diego
subversion
Fri Jul 11 09:37:22 CEST 2008
Author: diego
Date: Fri Jul 11 09:37:22 2008
New Revision: 14162
Log:
Move functions only used for muxing below #ifdef CONFIG_YUV4MPEGPIPE_MUXER,
fixes some warnings when compiling with muxers disabled.
Modified:
trunk/libavformat/yuv4mpeg.c
Modified: trunk/libavformat/yuv4mpeg.c
==============================================================================
--- trunk/libavformat/yuv4mpeg.c (original)
+++ trunk/libavformat/yuv4mpeg.c Fri Jul 11 09:37:22 2008
@@ -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(AVFormatCon
return 0;
}
-#ifdef CONFIG_YUV4MPEGPIPE_MUXER
AVOutputFormat yuv4mpegpipe_muxer = {
"yuv4mpegpipe",
NULL_IF_CONFIG_SMALL("YUV4MPEG pipe format"),
More information about the ffmpeg-cvslog
mailing list