Browse Source
This is how the IOCallback abstraction works [^1].
Either you read the amount requested, or you return 0.
vlc_stream_Read() reads the whole amount of data, unless it reaches the end of file.
In that case it returns the amount it could read.
[^1]: ba5707e326/ebml/IOCallback.h (L30)
pull/177/head
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue