[vlc-devel] In 2.1.x, how does access module report failure?

Rafaël Carré funman at videolan.org
Mon Dec 17 22:17:01 CET 2012

Le 17/12/2012 22:15, Nick Briggs a écrit :
> In 2.0.x access modules, the Block or Seek methods could set p_access->b_die if they detected a fatal I/O error on the input stream.    I see that in the git head (upcoming 2.1?) the b_die field has been removed, but looking at the code in src/input/stream.c I see no obvious way for a Block or Seek method to report failure. 
> What's the expected way to handle this situation?

I would guess b_eof ?

More information about the vlc-devel mailing list