[MPlayer-cvslog] r22305 - trunk/command.c
ivo
subversion at mplayerhq.hu
Wed Feb 21 20:48:12 CET 2007
Author: ivo
Date: Wed Feb 21 20:48:12 2007
New Revision: 22305
Modified:
trunk/command.c
Log:
fix compilation with gcc 2.95.3
Modified: trunk/command.c
==============================================================================
--- trunk/command.c (original)
+++ trunk/command.c Wed Feb 21 20:48:12 2007
@@ -1628,6 +1628,7 @@
case MP_CMD_GET_PROPERTY:{
m_option_t *prop;
void *val;
+ char *tmp;
prop = mp_property_find(cmd->args[0].v.s);
if (!prop) {
mp_msg(MSGT_CPLAYER, MSGL_WARN,
@@ -1642,7 +1643,7 @@
cmd->args[0].v.s);
break;
}
- char *tmp = m_option_print(prop, val);
+ tmp = m_option_print(prop, val);
if (!tmp || tmp == (char *) -1) {
mp_msg(MSGT_CPLAYER, MSGL_WARN,
"Failed to print value of property '%s'.\n",
More information about the MPlayer-cvslog
mailing list