Commit c4595ee6 authored by ivoire's avatar ivoire Committed by Jean-Baptiste Kempf
Browse files

sgimb: remove dummy test

This test is always true. Moreover, strrchr does handle empty strings.
parent bb2e7494
......@@ -216,8 +216,6 @@ static int ParseLine ( demux_t *p_demux, char *psz_line )
else if( !strncasecmp( psz_bol, "Stream=\"", sizeof("Stream=\"") - 1 ) )
{
psz_bol += sizeof("Stream=\"") - 1;
if ( !psz_bol )
return 0;
char* psz_tmp = strrchr( psz_bol, '"' );
if( !psz_tmp )
return 0;
......
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