diff --git a/libavformat/yuv4mpeg.c b/libavformat/yuv4mpeg.c index 361ef8eeec..dd623205da 100644 --- a/libavformat/yuv4mpeg.c +++ b/libavformat/yuv4mpeg.c @@ -22,13 +22,13 @@ #define Y4M_FRAME_MAGIC "FRAME" #define Y4M_LINE_MAX 256 -#ifdef CONFIG_MUXERS - struct frame_attributes { int interlaced_frame; int top_field_first; }; +#ifdef CONFIG_MUXERS + static int yuv4_generate_header(AVFormatContext *s, char* buf) { AVStream *st;