[MPlayer-cvslog] r26235 - in trunk: gui/mplayer/gtk/about.c gui/mplayer/gtk/eq.c gui/mplayer/gtk/fs.c gui/mplayer/gtk/mb.c gui/mplayer/gtk/sb.c gui/mplayer/menu.c gui/mplayer/mw.c gui/mplayer/pb.c gui/mplayer/play.c gui/mplayer/widgets.c libaf/af.h libmpcodecs/ae_lavc.c libmpcodecs/pullup.c libvo/gl_common.h libvo/vo_png.c libvo/vo_sdl.c libvo/vo_zr.c libvo/vo_zr2.c mp3lib/test.c mp3lib/test2.c mpbswap.h vidix/cyberblade_vid.c vidix/drivers.c vidix/nvidia_vid.c vidix/pm2_vid.c vidix/pm3_vid.c vidix/s3_vid.c vidix/sis_vid.c vidix/unichrome_vid.c vidix/vidixlib.c

diego subversion at mplayerhq.hu
Fri Mar 14 17:46:13 CET 2008


Author: diego
Date: Fri Mar 14 17:46:13 2008
New Revision: 26235

Log:
#include config.h before all other headers.


Modified:
   trunk/gui/mplayer/gtk/about.c
   trunk/gui/mplayer/gtk/eq.c
   trunk/gui/mplayer/gtk/fs.c
   trunk/gui/mplayer/gtk/mb.c
   trunk/gui/mplayer/gtk/sb.c
   trunk/gui/mplayer/menu.c
   trunk/gui/mplayer/mw.c
   trunk/gui/mplayer/pb.c
   trunk/gui/mplayer/play.c
   trunk/gui/mplayer/widgets.c
   trunk/libaf/af.h
   trunk/libmpcodecs/ae_lavc.c
   trunk/libmpcodecs/pullup.c
   trunk/libvo/gl_common.h
   trunk/libvo/vo_png.c
   trunk/libvo/vo_sdl.c
   trunk/libvo/vo_zr.c
   trunk/libvo/vo_zr2.c
   trunk/mp3lib/test.c
   trunk/mp3lib/test2.c
   trunk/mpbswap.h
   trunk/vidix/cyberblade_vid.c
   trunk/vidix/drivers.c
   trunk/vidix/nvidia_vid.c
   trunk/vidix/pm2_vid.c
   trunk/vidix/pm3_vid.c
   trunk/vidix/s3_vid.c
   trunk/vidix/sis_vid.c
   trunk/vidix/unichrome_vid.c
   trunk/vidix/vidixlib.c

Modified: trunk/gui/mplayer/gtk/about.c
==============================================================================
--- trunk/gui/mplayer/gtk/about.c	(original)
+++ trunk/gui/mplayer/gtk/about.c	Fri Mar 14 17:46:13 2008
@@ -1,6 +1,5 @@
-
-#include "app.h"
 #include "config.h"
+#include "app.h"
 #include "help_mp.h"
 
 #include "mplayer/pixmaps/about.xpm"

Modified: trunk/gui/mplayer/gtk/eq.c
==============================================================================
--- trunk/gui/mplayer/gtk/eq.c	(original)
+++ trunk/gui/mplayer/gtk/eq.c	Fri Mar 14 17:46:13 2008
@@ -9,9 +9,9 @@
 #include <gdk/gdkkeysyms.h>
 #include <gtk/gtk.h>
 
+#include "config.h"
 #include "app.h"
 #include "cfg.h"
-#include "config.h"
 #include "help_mp.h"
 #include "libaf/equalizer.h"
 #include "libvo/video_out.h"

Modified: trunk/gui/mplayer/gtk/fs.c
==============================================================================
--- trunk/gui/mplayer/gtk/fs.c	(original)
+++ trunk/gui/mplayer/gtk/fs.c	Fri Mar 14 17:46:13 2008
@@ -6,6 +6,7 @@
 #include <glob.h>
 #include <unistd.h>
 
+#include "config.h"
 #include "../gmplayer.h"
 
 #include "mplayer/pixmaps/up.xpm"
@@ -14,7 +15,6 @@
 
 #include "app.h"
 #include "interface.h"
-#include "config.h"
 #include "help_mp.h"
 #include "stream/stream.h"
 

Modified: trunk/gui/mplayer/gtk/mb.c
==============================================================================
--- trunk/gui/mplayer/gtk/mb.c	(original)
+++ trunk/gui/mplayer/gtk/mb.c	Fri Mar 14 17:46:13 2008
@@ -1,6 +1,5 @@
-
-#include "app.h"
 #include "config.h"
+#include "app.h"
 #include "help_mp.h"
 
 #include "../pixmaps/error.xpm"

Modified: trunk/gui/mplayer/gtk/sb.c
==============================================================================
--- trunk/gui/mplayer/gtk/sb.c	(original)
+++ trunk/gui/mplayer/gtk/sb.c	Fri Mar 14 17:46:13 2008
@@ -6,11 +6,11 @@
 #include <stdlib.h>
 #include <stdio.h>
 
+#include "config.h"
 #include "sb.h"
 #include "gtk_common.h"
 
 #include "app.h"
-#include "config.h"
 #include "help_mp.h"
 
 #include "../widgets.h"

Modified: trunk/gui/mplayer/menu.c
==============================================================================
--- trunk/gui/mplayer/menu.c	(original)
+++ trunk/gui/mplayer/menu.c	Fri Mar 14 17:46:13 2008
@@ -3,9 +3,9 @@
 #include <stdio.h>
 #include <inttypes.h>
 
+#include "../config.h"
 #include "app.h"
 #include "gmplayer.h"
-#include "../config.h"
 #include "../help_mp.h"
 #include "../mp_msg.h"
 

Modified: trunk/gui/mplayer/mw.c
==============================================================================
--- trunk/gui/mplayer/mw.c	(original)
+++ trunk/gui/mplayer/mw.c	Fri Mar 14 17:46:13 2008
@@ -8,13 +8,13 @@
 #include <unistd.h>
 #include <string.h>
 
+#include "../config.h"
 #include "gmplayer.h"
 #include "app.h"
 #include "skin/font.h"
 #include "skin/skin.h"
 #include "wm/ws.h"
 
-#include "../config.h"
 #include "../help_mp.h"
 #include "../libvo/x11_common.h"
 #include "../libvo/fastmemcpy.h"

Modified: trunk/gui/mplayer/pb.c
==============================================================================
--- trunk/gui/mplayer/pb.c	(original)
+++ trunk/gui/mplayer/pb.c	Fri Mar 14 17:46:13 2008
@@ -8,12 +8,12 @@
 #include <unistd.h>
 #include <string.h>
 
+#include "../config.h"
 #include "app.h"
 #include "skin/font.h"
 #include "skin/skin.h"
 #include "wm/ws.h"
 
-#include "../config.h"
 #include "../help_mp.h"
 #include "../libvo/x11_common.h"
 #include "../libvo/fastmemcpy.h"

Modified: trunk/gui/mplayer/play.c
==============================================================================
--- trunk/gui/mplayer/play.c	(original)
+++ trunk/gui/mplayer/play.c	Fri Mar 14 17:46:13 2008
@@ -7,9 +7,9 @@
 #include <unistd.h>
 #include <signal.h>
 
+#include "../config.h"
 #include "wm/ws.h"
 #include "wm/wsxdnd.h"
-#include "../config.h"
 #include "../help_mp.h"
 #include "../libvo/x11_common.h"
 #include "../libvo/video_out.h"

Modified: trunk/gui/mplayer/widgets.c
==============================================================================
--- trunk/gui/mplayer/widgets.c	(original)
+++ trunk/gui/mplayer/widgets.c	Fri Mar 14 17:46:13 2008
@@ -15,6 +15,7 @@
 #include <gdk/gdk.h>
 #include <gtk/gtk.h>
 
+#include "../config.h"
 #include "widgets.h"
 #include "app.h"
 #include "wm/ws.h"
@@ -24,7 +25,6 @@
 #include "play.h"
 #include "gtk/fs.h"
 
-#include "../config.h"
 #include "../help_mp.h"
 #include "../mp_msg.h"
 

Modified: trunk/libaf/af.h
==============================================================================
--- trunk/libaf/af.h	(original)
+++ trunk/libaf/af.h	Fri Mar 14 17:46:13 2008
@@ -3,8 +3,8 @@
 
 #include <stdio.h>
 
-#include "af_mp.h"
 #include "config.h"
+#include "af_mp.h"
 #include "control.h"
 #include "af_format.h"
 

Modified: trunk/libmpcodecs/ae_lavc.c
==============================================================================
--- trunk/libmpcodecs/ae_lavc.c	(original)
+++ trunk/libmpcodecs/ae_lavc.c	Fri Mar 14 17:46:13 2008
@@ -4,6 +4,7 @@
 #include <unistd.h>
 #include <string.h>
 #include <sys/types.h>
+#include "config.h"
 #include "m_option.h"
 #include "mp_msg.h"
 #include "libmpdemux/aviheader.h"
@@ -12,7 +13,6 @@
 #include "libmpdemux/muxer.h"
 #include "ae_lavc.h"
 #include "help_mp.h"
-#include "config.h"
 #include "libaf/af_format.h"
 #include "libaf/reorder_ch.h"
 #include "libavcodec/avcodec.h"

Modified: trunk/libmpcodecs/pullup.c
==============================================================================
--- trunk/libmpcodecs/pullup.c	(original)
+++ trunk/libmpcodecs/pullup.c	Fri Mar 14 17:46:13 2008
@@ -3,8 +3,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include "pullup.h"
 #include "config.h"
+#include "pullup.h"
 #include "cpudetect.h"
 
 

Modified: trunk/libvo/gl_common.h
==============================================================================
--- trunk/libvo/gl_common.h	(original)
+++ trunk/libvo/gl_common.h	Fri Mar 14 17:46:13 2008
@@ -4,8 +4,8 @@
 #include <stdio.h>
 #include <stdint.h>
 
-#include "mp_msg.h"
 #include "config.h"
+#include "mp_msg.h"
 
 #include <GL/gl.h>
 #include "video_out.h"

Modified: trunk/libvo/vo_png.c
==============================================================================
--- trunk/libvo/vo_png.c	(original)
+++ trunk/libvo/vo_png.c	Fri Mar 14 17:46:13 2008
@@ -14,9 +14,9 @@
 
 #include <png.h>
 
-#include "mp_msg.h"
 #include "config.h"
 #include "mp_msg.h"
+#include "mp_msg.h"
 #include "help_mp.h"
 #include "video_out.h"
 #include "video_out_internal.h"

Modified: trunk/libvo/vo_sdl.c
==============================================================================
--- trunk/libvo/vo_sdl.c	(original)
+++ trunk/libvo/vo_sdl.c	Fri Mar 14 17:46:13 2008
@@ -58,9 +58,9 @@
 #include <string.h>
 #include <inttypes.h>
 
-#include "mp_msg.h"
 #include "config.h"
 #include "mp_msg.h"
+#include "mp_msg.h"
 #include "help_mp.h"
 #include "video_out.h"
 #include "video_out_internal.h"

Modified: trunk/libvo/vo_zr.c
==============================================================================
--- trunk/libvo/vo_zr.c	(original)
+++ trunk/libvo/vo_zr.c	Fri Mar 14 17:46:13 2008
@@ -18,10 +18,8 @@
 #include <sys/ioctl.h>
 #include <linux/types.h>
 #include <linux/videodev.h>
-#include "videodev_mjpeg.h"
-
 #include "config.h"
-
+#include "videodev_mjpeg.h"
 #include "video_out.h"
 #include "video_out_internal.h"
 #include "mp_msg.h"

Modified: trunk/libvo/vo_zr2.c
==============================================================================
--- trunk/libvo/vo_zr2.c	(original)
+++ trunk/libvo/vo_zr2.c	Fri Mar 14 17:46:13 2008
@@ -19,10 +19,8 @@
 #include <sys/ioctl.h>
 #include <linux/types.h>
 #include <linux/videodev.h>
-#include "videodev_mjpeg.h"
-
 #include "config.h"
-
+#include "videodev_mjpeg.h"
 #include "video_out.h"
 #include "video_out_internal.h"
 #include "mp_msg.h"

Modified: trunk/mp3lib/test.c
==============================================================================
--- trunk/mp3lib/test.c	(original)
+++ trunk/mp3lib/test.c	Fri Mar 14 17:46:13 2008
@@ -9,9 +9,8 @@
 #include <unistd.h>
 #include <sys/time.h>
 
-#include "mp3lib/mp3.h"
 #include "config.h"
-
+#include "mp3lib/mp3.h"
 #include "cpudetect.h"
 extern CpuCaps gCpuCaps;
 

Modified: trunk/mp3lib/test2.c
==============================================================================
--- trunk/mp3lib/test2.c	(original)
+++ trunk/mp3lib/test2.c	Fri Mar 14 17:46:13 2008
@@ -9,8 +9,8 @@
 #include <unistd.h>
 #include <sys/soundcard.h>
 
-#include "mp3lib/mp3.h"
 #include "config.h"
+#include "mp3lib/mp3.h"
 #include "cpudetect.h"
 
 static FILE* mp3file=NULL;

Modified: trunk/mpbswap.h
==============================================================================
--- trunk/mpbswap.h	(original)
+++ trunk/mpbswap.h	Fri Mar 14 17:46:13 2008
@@ -2,8 +2,8 @@
 #define MPLAYER_MPBSWAP_H
 
 #include <sys/types.h>
-#include "libavutil/bswap.h"
 #include "config.h"
+#include "libavutil/bswap.h"
 
 #ifndef HAVE_SWAB
 void swab(const void *from, void *to, ssize_t n);

Modified: trunk/vidix/cyberblade_vid.c
==============================================================================
--- trunk/vidix/cyberblade_vid.c	(original)
+++ trunk/vidix/cyberblade_vid.c	Fri Mar 14 17:46:13 2008
@@ -43,13 +43,13 @@
 #include <inttypes.h>
 #include <unistd.h>
 
+#include "config.h"
 #include "vidix.h"
 #include "vidixlib.h"
 #include "fourcc.h"
 #include "dha.h"
 #include "pci_ids.h"
 #include "pci_names.h"
-#include "config.h"
 
 #include "cyberblade_regs.h"
 

Modified: trunk/vidix/drivers.c
==============================================================================
--- trunk/vidix/drivers.c	(original)
+++ trunk/vidix/drivers.c	Fri Mar 14 17:46:13 2008
@@ -24,8 +24,8 @@
 #include <errno.h>
 #include <string.h>
 
-#include "vidixlib.h"
 #include "config.h"
+#include "vidixlib.h"
 #include "libavutil/common.h"
 #include "mpbswap.h"
 #include "config.h"

Modified: trunk/vidix/nvidia_vid.c
==============================================================================
--- trunk/vidix/nvidia_vid.c	(original)
+++ trunk/vidix/nvidia_vid.c	Fri Mar 14 17:46:13 2008
@@ -31,13 +31,13 @@
 #include <unistd.h>
 
 
+#include "config.h"
 #include "vidix.h"
 #include "vidixlib.h"
 #include "fourcc.h"
 #include "dha.h"
 #include "pci_ids.h"
 #include "pci_names.h"
-#include "config.h"
 #include "libavutil/common.h"
 #include "mpbswap.h"
 

Modified: trunk/vidix/pm2_vid.c
==============================================================================
--- trunk/vidix/pm2_vid.c	(original)
+++ trunk/vidix/pm2_vid.c	Fri Mar 14 17:46:13 2008
@@ -27,13 +27,13 @@
 #include <sys/types.h>
 #include <unistd.h>
 
+#include "config.h"
 #include "vidix.h"
 #include "vidixlib.h"
 #include "fourcc.h"
 #include "dha.h"
 #include "pci_ids.h"
 #include "pci_names.h"
-#include "config.h"
 
 #include "glint_regs.h"
 

Modified: trunk/vidix/pm3_vid.c
==============================================================================
--- trunk/vidix/pm3_vid.c	(original)
+++ trunk/vidix/pm3_vid.c	Fri Mar 14 17:46:13 2008
@@ -26,13 +26,13 @@
 #include <inttypes.h>
 #include <unistd.h>
 
+#include "config.h"
 #include "vidix.h"
 #include "vidixlib.h"
 #include "fourcc.h"
 #include "dha.h"
 #include "pci_ids.h"
 #include "pci_names.h"
-#include "config.h"
 
 #include "pm3_regs.h"
 

Modified: trunk/vidix/s3_vid.c
==============================================================================
--- trunk/vidix/s3_vid.c	(original)
+++ trunk/vidix/s3_vid.c	Fri Mar 14 17:46:13 2008
@@ -32,13 +32,13 @@
 #include <unistd.h>
 #include <math.h>
 
+#include "config.h"
 #include "vidix.h"
 #include "vidixlib.h"
 #include "fourcc.h"
 #include "dha.h"
 #include "pci_ids.h"
 #include "pci_names.h"
-#include "config.h"
 
 #include "s3_regs.h"
 

Modified: trunk/vidix/sis_vid.c
==============================================================================
--- trunk/vidix/sis_vid.c	(original)
+++ trunk/vidix/sis_vid.c	Fri Mar 14 17:46:13 2008
@@ -30,13 +30,13 @@
 #include <inttypes.h>
 #include <unistd.h>
 
+#include "config.h"
 #include "vidix.h"
 #include "vidixlib.h"
 #include "fourcc.h"
 #include "dha.h"
 #include "pci_ids.h"
 #include "pci_names.h"
-#include "config.h"
 
 #include "sis_regs.h"
 #include "sis_defs.h"

Modified: trunk/vidix/unichrome_vid.c
==============================================================================
--- trunk/vidix/unichrome_vid.c	(original)
+++ trunk/vidix/unichrome_vid.c	Fri Mar 14 17:46:13 2008
@@ -36,13 +36,13 @@
 #include <inttypes.h>
 #include <unistd.h>
 
+#include "config.h"
 #include "vidix.h"
 #include "vidixlib.h"
 #include "fourcc.h"
 #include "dha.h"
 #include "pci_ids.h"
 #include "pci_names.h"
-#include "config.h"
 
 #include "unichrome_regs.h"
 

Modified: trunk/vidix/vidixlib.c
==============================================================================
--- trunk/vidix/vidixlib.c	(original)
+++ trunk/vidix/vidixlib.c	Fri Mar 14 17:46:13 2008
@@ -37,9 +37,9 @@
 #include <errno.h>
 #include <string.h>
 
+#include "config.h"
 #include "vidixlib.h"
 #include "drivers.h"
-#include "config.h"
 #include "libavutil/common.h"
 #include "mpbswap.h"
 



More information about the MPlayer-cvslog mailing list