[vlc-devel] [PATCH] net_Read: don't exit loop if first read returned 0

Rafaël Carré funman at videolan.org
Thu Sep 19 12:18:14 CEST 2013

Le 19/09/2013 10:16, Rémi Denis-Courmont a écrit :
> On Wed, 18 Sep 2013 22:15:45 +0200, Rafaël Carré <funman at videolan.org>
> wrote:
>> Wait until poll() signaled that data is available
> This does not work since read() dequeues the data before poll() sees it.

There's no data to dequeue since the first read() returns 0.

More information about the vlc-devel mailing list