[MPlayer-cvslog] r36505 - trunk/mplayer.c

reimar subversion at mplayerhq.hu
Sat Nov 9 09:50:16 CET 2013


Author: reimar
Date: Sat Nov  9 09:50:16 2013
New Revision: 36505

Log:
Move cast to right place to avoid warning.

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Sat Nov  9 09:46:02 2013	(r36504)
+++ trunk/mplayer.c	Sat Nov  9 09:50:16 2013	(r36505)
@@ -3649,7 +3649,7 @@ goto_enable_cache:
             if (mpctx->sh_audio && mpctx->sh_audio->codec)
                 mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_AUDIO_CODEC=%s\n", mpctx->sh_audio->codec->name);
             if (mpctx->audio_out)
-                mpctx->audio_out->control(AOCONTROL_FILENAME, vo_wintitle ? vo_wintitle : (void *)mp_basename(filename));
+                mpctx->audio_out->control(AOCONTROL_FILENAME, (void *)(vo_wintitle ? vo_wintitle : mp_basename(filename)));
         }
 
         current_module = "av_init";


More information about the MPlayer-cvslog mailing list