Move CONIG_MUXERS below struct frame_attributes, it's not muxer-specific.
authorColin Ward <hitman@codehq.org>
Wed, 8 Feb 2006 15:39:12 +0000 (15:39 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 8 Feb 2006 15:39:12 +0000 (15:39 +0000)
patch by Colin Ward, hitman*at*codehq*dot*org

Originally committed as revision 4962 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/yuv4mpeg.c

index 361ef8e..dd62320 100644 (file)
 #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;