Commit ec558183 authored by diego's avatar diego

Move functions only used for muxing below #ifdef CONFIG_YUV4MPEGPIPE_MUXER,

fixes some warnings when compiling with muxers disabled.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14162 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 77236cc7
...@@ -29,6 +29,7 @@ struct frame_attributes { ...@@ -29,6 +29,7 @@ struct frame_attributes {
int top_field_first; int top_field_first;
}; };
#ifdef CONFIG_YUV4MPEGPIPE_MUXER
static int yuv4_generate_header(AVFormatContext *s, char* buf) static int yuv4_generate_header(AVFormatContext *s, char* buf)
{ {
AVStream *st; AVStream *st;
...@@ -166,7 +167,6 @@ static int yuv4_write_header(AVFormatContext *s) ...@@ -166,7 +167,6 @@ static int yuv4_write_header(AVFormatContext *s)
return 0; return 0;
} }
#ifdef CONFIG_YUV4MPEGPIPE_MUXER
AVOutputFormat yuv4mpegpipe_muxer = { AVOutputFormat yuv4mpegpipe_muxer = {
"yuv4mpegpipe", "yuv4mpegpipe",
NULL_IF_CONFIG_SMALL("YUV4MPEG pipe format"), NULL_IF_CONFIG_SMALL("YUV4MPEG pipe format"),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment