[vlc-devel] [PATCH] net_Read: don't exit loop if first read returned 0
Jean-Baptiste Kempf
jb at videolan.org
Mon Sep 23 02:08:53 CEST 2013
On 19 Sep, Rémi Denis-Courmont wrote :
> 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?
Sorry, but where was "empty packet" mentionned in the thread ?
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list