summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThibaut Mattern <tmattern@users.sourceforge.net>2004-03-28 20:00:46 +0000
committerThibaut Mattern <tmattern@users.sourceforge.net>2004-03-28 20:00:46 +0000
commitb28e8690c42b0af4eec7fd26aff92b8eeb27fac5 (patch)
tree53d4ac2141fc4c271722d013b2a005c108c896ce /src
parentb49f1f936736c48252aefe4323d47edad27202cc (diff)
downloadxine-lib-b28e8690c42b0af4eec7fd26aff92b8eeb27fac5.tar.gz
xine-lib-b28e8690c42b0af4eec7fd26aff92b8eeb27fac5.tar.bz2
Fix asx ENTRYREF parsing.
Patch from Koos Vriezen. CVS patchset: 6314 CVS date: 2004/03/28 20:00:46
Diffstat (limited to 'src')
-rw-r--r--src/demuxers/demux_asf.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/demuxers/demux_asf.c b/src/demuxers/demux_asf.c
index 0a012053c..fea2d367e 100644
--- a/src/demuxers/demux_asf.c
+++ b/src/demuxers/demux_asf.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_asf.c,v 1.152 2004/03/28 19:11:32 jstembridge Exp $
+ * $Id: demux_asf.c,v 1.153 2004/03/28 20:00:46 tmattern Exp $
*
* demultiplexer for asf streams
*
@@ -1660,6 +1660,18 @@ static int demux_asf_parse_asx_references( demux_asf_t *this) {
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")) {