[MPlayer-cvslog] r25488 - trunk/m_property.c
ulion
subversion at mplayerhq.hu
Sat Dec 22 04:45:14 CET 2007
Author: ulion
Date: Sat Dec 22 04:45:14 2007
New Revision: 25488
Log:
Move two variable to the scope where they are indeed used.
Modified:
trunk/m_property.c
Modified: trunk/m_property.c
==============================================================================
--- trunk/m_property.c (original)
+++ trunk/m_property.c Sat Dec 22 04:45:14 2007
@@ -144,10 +144,10 @@ char* m_properties_expand_string(m_optio
l = 0;
str = e+1;
} else if(str[0] == '?' && str[1] == '(' && (e = strchr(str+2,':'))) {
- int pl = e-str-2;
- char pname[pl+1];
lvl++;
if(!skip) {
+ int pl = e-str-2;
+ char pname[pl+1];
memcpy(pname,str+2,pl);
pname[pl] = 0;
if(m_property_do(prop_list,pname,M_PROPERTY_GET,NULL,ctx) < 0)
More information about the MPlayer-cvslog
mailing list