Commit d36df636 authored by Laurent Aimar's avatar Laurent Aimar

Fixed a really bad type (input).

parent 143011b4
......@@ -1102,7 +1102,7 @@ static int AStreamReadStream( stream_t *s, void *p_read, unsigned int i_read )
/* */
p_sys->stream.i_used += i_copy;
if( tk->i_end - tk->i_start - p_sys->stream.i_offset < i_read - i_data )
if( tk->i_end - tk->i_start - p_sys->stream.i_offset <= i_read -i_data )
{
const int i_read_requested = __MAX( __MIN( i_read - i_data,
STREAM_READ_ATONCE * 10 ),
......
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