Commit 9924f657 authored by damienf's avatar damienf
Browse files

asx.c: fixed a small bug in skip ad feature

parent 8c432e88
......@@ -567,8 +567,7 @@ static int Demux( demux_t *p_demux )
psz_parse = strcasestr( psz_parse, ">" );
/* If clientskip was enabled ... this is an ad */
if( psz_clientskip < psz_parse ) b_skip_entry = VLC_TRUE;
else b_skip_entry = VLC_FALSE;
b_skip_entry = (NULL != psz_clientskip) && (psz_clientskip < psz_parse);
// init entry details
FREENULL(psz_href);
......
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