Commit 59947987 authored by David Fuhrmann's avatar David Fuhrmann Committed by Felix Paul Kühne

macosx: fix crash when open track sync panel while movie is playing

Crash was introduced in 3e73ad2a (subsdelay filter) and
occurs when user or init methods set subsdelay to 0.
(cherry picked from commit fd9f59ec)
Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 64799361
......@@ -409,6 +409,9 @@ static VLCVideoEffects *_o_sharedInstance = nil;
else if( (NSInteger)strstr( psz_string, psz_name ) == NO )
psz_string = (char *)[[NSString stringWithFormat: @"%s:%s", psz_string, psz_name] UTF8String];
} else {
if( !psz_string )
return;
psz_parser = strstr( psz_string, psz_name );
if( psz_parser )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment