[MPlayer-cvslog] r33043 - trunk/gui/mplayer/gui_common.c

ib subversion at mplayerhq.hu
Mon Mar 7 21:36:06 CET 2011


Author: ib
Date: Mon Mar  7 21:36:06 2011
New Revision: 33043

Log:
Move global variables to top of file.

Additionally: remove needless explicit initialization.

Modified:
   trunk/gui/mplayer/gui_common.c

Modified: trunk/gui/mplayer/gui_common.c
==============================================================================
--- trunk/gui/mplayer/gui_common.c	Mon Mar  7 21:27:29 2011	(r33042)
+++ trunk/gui/mplayer/gui_common.c	Mon Mar  7 21:36:06 2011	(r33043)
@@ -38,6 +38,9 @@
 #include "access_mpcontext.h"
 #include "libavutil/avstring.h"
 
+static char * image_buffer;
+static int    image_width;
+
 static inline void TranslateFilename( int c,char * tmp,size_t tmplen )
 {
  int i;
@@ -184,9 +187,6 @@ calclengthmmmmss:
  return trbuf;
 }
 
-static char * image_buffer = NULL;
-static int    image_width = 0;
-
 void PutImage( txSample * bf,int x,int y,int max,int ofs )
 {
  int i=0,ix,iy;


More information about the MPlayer-cvslog mailing list