Commit 93ac6328 authored by Sébastien Escudier's avatar Sébastien Escudier Committed by Laurent Aimar

Avoid useless operations

Signed-off-by: default avatarLaurent Aimar <fenrir@videolan.org>
parent 1c56e0ed
......@@ -147,9 +147,9 @@ static char* GetLine( demux_t *p_demux, int *p_pos )
{
return NULL;
}
p_buf = p_sys->p_peek + *p_pos;
i_size = p_sys->i_data_peeked - *p_pos;
}
p_buf = p_sys->p_peek + *p_pos;
i_size = p_sys->i_data_peeked - *p_pos;
}
*p_pos += ( i + 1 );
if( i > 0 && '\r' == p_buf[i - 1] )
......
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