[vlc-devel] [PATCH 2/2] Fix for Ticket #6782
Vasily Fomin
vasili.fomin at gmail.com
Tue Sep 18 23:55:21 CEST 2012
---
src/config/chain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/config/chain.c b/src/config/chain.c
index 7d0b71d..e9acd55 100644
--- a/src/config/chain.c
+++ b/src/config/chain.c
@@ -79,7 +79,7 @@ static const char *ChainGetEnd( const char *psz_string )
for( ;; p++)
{
- if( *p == '\0' || *p == ',' || *p == '}' )
+ if( *p == '\0' || *p == ',' || *p == '}' || ((*p == '\'') && (*(++p) == '}')) )
return p;
if( *p == '{' || *p == '"' || *p == '\'' )
--
1.7.10.4
More information about the vlc-devel
mailing list