[MPlayer-cvslog] r37047 - trunk/gui/win32/interface.c

ib subversion at mplayerhq.hu
Sun Mar 23 13:10:30 CET 2014


Author: ib
Date: Sun Mar 23 13:10:30 2014
New Revision: 37047

Log:
Remove unnecessary variable in Win32 GUI.

Use guiInfo.sh_video instead.

Modified:
   trunk/gui/win32/interface.c

Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c	Sun Mar 23 13:05:32 2014	(r37046)
+++ trunk/gui/win32/interface.c	Sun Mar 23 13:10:30 2014	(r37047)
@@ -634,8 +634,7 @@ int gui(int what, void *data)
             guiInfo.sh_video = data;
             if (guiInfo.sh_video)
             {
-                sh_video_t *sh = data;
-                codecname = sh->codec->name;
+                codecname = guiInfo.sh_video->codec->name;
 
                 /* we have video, show the video window */
                 if(!IsWindowVisible(mygui->videowindow) || IsIconic(mygui->videowindow))


More information about the MPlayer-cvslog mailing list