[vlc-devel] [PATCH] stream_filter/cache_block: fix premature EOF
remi at remlab.net
Sun Jun 5 11:33:15 CEST 2016
Le 2016-06-04 15:03, Filip Roséen a écrit :
> On 16/06/04 14:58, Filip Roséen wrote:
>> AStreamReadBlock would potentially return 0 because the current data
>> block (denoted by “p_sys->p_current”) was exhausted, even though
>> there might be more data in the next data block
>> This patch fixes the issue by calling the function one more time if
>> this is the case. Given the check for EOF in the beginning of the
>> function, it will abort correctly if we are /really/ out of data.
> Just realized that the above commit message is misleading and an
> artifact from a previous fix that I later rebased. Attached to this
> email is a patch that actually contains a commit message that makes
Probably OK. I don't have a test case so...
More information about the vlc-devel