Commit bdf63c7e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

ZPL: avoid NULL dereference

(cherry picked from commit b2682aff9c3e85e53e887051833e19b5b0e781a2)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 19f48f10
......@@ -86,6 +86,9 @@ static int Demux( demux_t *p_demux )
input_item_t *p_current_input = GetCurrentItem(p_demux);
psz_line = stream_ReadLine( p_demux->s );
if( !psz_line )
return -1;
char *psz_parse = psz_line;
/* Skip leading tabs and spaces */
......
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