[vlc-devel] [PATCH] net_Read: don't exit loop if first read returned 0
    Rafaël Carré 
    funman at videolan.org
       
    Thu Sep 19 13:30:42 CEST 2013
    
    
  
Le 19/09/2013 12:58, Rémi Denis-Courmont a écrit :
> 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?
All.
What's an empty packet?
    
    
More information about the vlc-devel
mailing list