changeset 36409:34aea1a1763e

Move cast to right place to avoid warning.
author reimar
date Sat, 09 Nov 2013 08:50:16 +0000
parents b9cc6e7cd0a8
children 291485d8cfa8
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sat Nov 09 08:46:02 2013 +0000
+++ b/mplayer.c	Sat Nov 09 08:50:16 2013 +0000
@@ -3649,7 +3649,7 @@
             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";