Commit e98f5605 authored by Laurent Aimar's avatar Laurent Aimar

Fixed stream_Block() comment (close #1208)

parent d3976552
...@@ -1875,9 +1875,9 @@ int stream_Control( stream_t *s, int i_query, ... ) ...@@ -1875,9 +1875,9 @@ int stream_Control( stream_t *s, int i_query, ... )
} }
/** /**
* Read "i_size" bytes and store them in a block_t. If less than "i_size" * Read "i_size" bytes and store them in a block_t.
* bytes are available then return what is left and if nothing is available, * It always read i_size bytes unless you are at the end of the stream
* return NULL. * where it return what is available.
*/ */
block_t *stream_Block( stream_t *s, int i_size ) block_t *stream_Block( stream_t *s, int i_size )
{ {
......
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