[vlc-commits] vlc_xml: handle error return code

Francois Cartegnie git at videolan.org
Wed Oct 7 20:44:08 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Oct  7 20:19:29 2015 +0200| [59b68252ded445cba418678cfab682994810147f] | committer: Francois Cartegnie

vlc_xml: handle error return code

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

 include/vlc_xml.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/include/vlc_xml.h b/include/vlc_xml.h
index 3bb8312..661e76d 100644
--- a/include/vlc_xml.h
+++ b/include/vlc_xml.h
@@ -107,6 +107,7 @@ static inline int xml_ReaderIsEmptyElement( xml_reader_t *reader )
 }
 
 enum {
+    XML_READER_ERROR=-1,
     XML_READER_NONE=0,
     XML_READER_STARTELEM,
     XML_READER_ENDELEM,



More information about the vlc-commits mailing list