[vlc-devel] [PATCH] net_Read: don't exit loop if first read returned 0
Rémi Denis-Courmont
remi at remlab.net
Thu Sep 19 12:58:48 CEST 2013
On Thu, 19 Sep 2013 12:18:14 +0200, Rafaël Carré <funman at videolan.org>
wrote:
> 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.
What part of "empty packet" do you not understand?
--
Rémi Denis-Courmont
Sent from my collocated server
More information about the vlc-devel
mailing list