[vlc-devel] [PATCH] stream_filter/cache_block: fix premature EOF

Thomas Guillem thomas at gllm.fr
Sun Jun 5 10:21:35 CEST 2016

Fine for me
On Sat, Jun 4, 2016, at 15:03, Filip Roséen wrote:
> 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 (“p_sys->p_current-
>> >p_next”).
>> 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 sense.
> Sorry.
> _________________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> Email had 1 attachment:

>  * 0001-stream_filter-cache_block-fix-premature-EOF.patch  2k (text/x-
>    diff)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160605/a8669401/attachment.html>

More information about the vlc-devel mailing list