[vlc-commits] Revert "strings: vlc_xml_encode: check return of	vlc_memstream_open"
    Jean-Baptiste Kempf 
    git at videolan.org
       
    Mon Mar  6 13:43:36 CET 2017
    
    
  
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Mar  6 13:43:32 2017 +0100| [fd9f9f4bda1f8e8924abdb5704e8fc9561343066] | committer: Jean-Baptiste Kempf
Revert "strings: vlc_xml_encode: check return of vlc_memstream_open"
This reverts commit 705a427f75915d9951f62fa86851693dc16a73a7.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fd9f9f4bda1f8e8924abdb5704e8fc9561343066
---
 src/text/strings.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/text/strings.c b/src/text/strings.c
index 7adfbcd..eb45145 100644
--- a/src/text/strings.c
+++ b/src/text/strings.c
@@ -289,9 +289,7 @@ char *vlc_xml_encode (const char *str)
     uint32_t cp;
 
     assert(str != NULL);
-
-    if (vlc_memstream_open(&stream))
-        return NULL;
+    vlc_memstream_open(&stream);
 
     while ((n = vlc_towc (str, &cp)) != 0)
     {
    
    
More information about the vlc-commits
mailing list