]> git.sesse.net Git - vlc/commitdiff
Fixed stream_Block() comment (close #1208)
authorLaurent Aimar <fenrir@videolan.org>
Fri, 25 May 2007 19:34:40 +0000 (19:34 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 25 May 2007 19:34:40 +0000 (19:34 +0000)
src/input/stream.c

index 1d71fa9d044149e58d396e117b003a3ca776e654..72f1bab3486cdf7894c1981b73547ecc43c8f590 100644 (file)
@@ -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"
- * bytes are available then return what is left and if nothing is available,
- * return NULL.
+ * Read "i_size" bytes and store them in a block_t.
+ * It always read i_size bytes unless you are at the end of the stream
+ * where it return what is available.
  */
 block_t *stream_Block( stream_t *s, int i_size )
 {