[MPlayer-cvslog] r33707 - trunk/gui/win32/preferences.c

diego subversion at mplayerhq.hu
Wed Jun 22 15:48:36 CEST 2011


Author: diego
Date: Wed Jun 22 15:48:36 2011
New Revision: 33707

Log:
win32 gui: Move static function around to avoid a forward declaration.

Modified:
   trunk/gui/win32/preferences.c

Modified: trunk/gui/win32/preferences.c
==============================================================================
--- trunk/gui/win32/preferences.c	Wed Jun 22 15:48:31 2011	(r33706)
+++ trunk/gui/win32/preferences.c	Wed Jun 22 15:48:36 2011	(r33707)
@@ -38,7 +38,24 @@
 #include "help_mp.h"
 #include "dialogs.h"
 
-static void set_defaults(void);
+
+static void set_defaults(void)
+{
+    proc_priority = "normal";
+    vo_doublebuffering = 1;
+    vo_directrendering = 0;
+    frame_dropping = 0;
+    soft_vol = 0;
+    gtkAONorm = 0;
+    gtkAOExtraStereo = 0;
+    gtkAOExtraStereoMul = 1.0;
+    audio_delay = 0.0;
+    sub_window = 1;
+    gtkCacheOn = 0;
+    gtkCacheSize = 2048;
+    gtkAutoSyncOn = 0;
+    gtkAutoSync = 0;
+}
 
 static LRESULT CALLBACK PrefsWndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
 {
@@ -694,21 +711,3 @@ void display_prefswindow(gui_t *gui)
    ShowWindow(hWnd, SW_SHOW);
    UpdateWindow(hWnd);
 }
-
-static void set_defaults(void)
-{
-    proc_priority = "normal";
-    vo_doublebuffering = 1;
-    vo_directrendering = 0;
-    frame_dropping = 0;
-    soft_vol = 0;
-    gtkAONorm = 0;
-    gtkAOExtraStereo = 0;
-    gtkAOExtraStereoMul = 1.0;
-    audio_delay = 0.0;
-    sub_window = 1;
-    gtkCacheOn = 0;
-    gtkCacheSize = 2048;
-    gtkAutoSyncOn = 0;
-    gtkAutoSync = 0;
-}


More information about the MPlayer-cvslog mailing list