[vlc-commits] access: add flag for EOF in pf_block prototype

Rémi Denis-Courmont git at videolan.org
Thu Jul 21 21:30:14 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jul 19 20:53:34 2016 +0300| [2381c5b860e96e5f42bb4828be7b619df00e24d3] | committer: Rémi Denis-Courmont

access: add flag for EOF in pf_block prototype

pf_read() returns 0 to signify EOF, and -1 to signify no data.
pf_block() returns NULL either way. This flag is added for the
distinction.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2381c5b860e96e5f42bb4828be7b619df00e24d3
---

 include/vlc_access.h           |    5 +++--
 modules/access/cdda.c          |   14 ++++++++------
 modules/access/concat.c        |    7 +++++--
 modules/access/dshow/dshow.cpp |    8 +++-----
 modules/access/dtv/access.c    |    6 +++---
 modules/access/dv.c            |    5 +++--
 modules/access/dvb/access.c    |    6 +++---
 modules/access/eyetv.m         |    6 ++++--
 modules/access/http/access.c   |    8 ++++----
 modules/access/imem.c          |    6 +++---
 modules/access/mms/mmsh.c      |    6 +++---
 modules/access/mms/mmstu.c     |    7 +++++--
 modules/access/rtsp/access.c   |    3 ++-
 modules/access/satip.c         |    4 ++--
 modules/access/udp.c           |    6 +++---
 modules/access/v4l2/access.c   |   11 ++++++-----
 modules/access/vcd/vcd.c       |    9 +++------
 17 files changed, 63 insertions(+), 54 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=2381c5b860e96e5f42bb4828be7b619df00e24d3


More information about the vlc-commits mailing list