[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xine-cvslog
Subject:    [xine-cvs] CVS: xine-lib/src/demuxers demux_asf.c,1.152,1.153
From:       Thibaut Mattern <tmattern () users ! sourceforge ! net>
Date:       2004-03-28 20:00:48
Message-ID: E1B7gSe-0006SI-R3 () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/xine/xine-lib/src/demuxers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24735/src/demuxers

Modified Files:
	demux_asf.c 
Log Message:
Fix asx ENTRYREF parsing.

Patch from Koos Vriezen.



Index: demux_asf.c
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/demuxers/demux_asf.c,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -r1.152 -r1.153
--- demux_asf.c	28 Mar 2004 19:11:32 -0000	1.152
+++ demux_asf.c	28 Mar 2004 20:00:46 -0000	1.153
@@ -1660,6 +1660,18 @@
             char *href   = NULL;
 
             asx_ref = asx_entry->child;
+            if (!asx_ref && !strcasecmp(asx_entry->name, "ENTRYREF")) {
+              for(asx_prop = asx_entry->props; asx_prop; asx_prop = asx_prop->next)
+
+                if(!strcasecmp(asx_prop->name, "HREF")) {
+
+                    href = asx_prop->value;
+
+                    if(href)
+                      break;
+                }
+            }
+
             while(asx_ref) {
 
               if(!strcasecmp(asx_ref->name, "REF")) {



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Xine-cvslog mailing list
Xine-cvslog@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-cvslog
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic