diff libmpdemux/demux_mov.c @ 21353:a965ca17debc

reordering of #include to avoid clash with math.h and quicktime/*.h, patch by Crhis Roccati<roccati@pobox.com>
author nplourde
date Tue, 28 Nov 2006 23:13:08 +0000
parents ddc587b1fd8b
children 072d3248d309
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c	Tue Nov 28 23:05:45 2006 +0000
+++ b/libmpdemux/demux_mov.c	Tue Nov 28 23:13:08 2006 +0000
@@ -22,6 +22,14 @@
 #include <stdlib.h>
 #include <unistd.h>
 
+#ifdef MACOSX
+#include <QuickTime/QuickTime.h>
+#include <QuickTime/ImageCompression.h>
+#include <QuickTime/ImageCodec.h>
+#else
+#include "loader/qtx/qtxsdk/components.h"
+#endif
+
 #include "config.h"
 #include "mp_msg.h"
 #include "help_mp.h"
@@ -38,14 +46,6 @@
 #include "qtpalette.h"
 #include "parse_mp4.h" // .MP4 specific stuff
 
-#ifdef MACOSX
-#include <QuickTime/QuickTime.h>
-#include <QuickTime/ImageCompression.h>
-#include <QuickTime/ImageCodec.h>
-#else
-#include "loader/qtx/qtxsdk/components.h"
-#endif
-
 #ifdef HAVE_ZLIB
 #include <zlib.h>
 #endif