[gupnp-av] Fix namespace creation in DIDLLite parser



commit 57afc669233e8eea3cccfc363a4e97b938ba0b04
Author: Jens Georg <mail jensge org>
Date:   Sat Dec 14 13:30:26 2013 +0100

    Fix namespace creation in DIDLLite parser

 libgupnp-av/gupnp-didl-lite-parser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgupnp-av/gupnp-didl-lite-parser.c b/libgupnp-av/gupnp-didl-lite-parser.c
index 3fbfdf1..c5b8500 100644
--- a/libgupnp-av/gupnp-didl-lite-parser.c
+++ b/libgupnp-av/gupnp-didl-lite-parser.c
@@ -322,7 +322,7 @@ gupnp_didl_lite_parser_parse_didl_recursive (GUPnPDIDLLiteParser *parser,
                                     (unsigned char *)
                                     GUPNP_DIDL_LITE_WRITER_NAMESPACE_DLNA);
         if (! pv_ns)
-                dlna_ns = xmlNewNs (xmlDocGetRootElement (doc),
+                pv_ns = xmlNewNs (xmlDocGetRootElement (doc),
                                     (unsigned char *)
                                     "http://www.pv.com/pvns/";,
                                     (unsigned char *)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]