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
This commit is contained in:
parent
d7e1fc4254
commit
66b32ce8d0
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user