summaryrefslogtreecommitdiffstats
path: root/asxparser.c
diff options
context:
space:
mode:
authorrtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-17 16:46:41 +0000
committerrtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-17 16:46:41 +0000
commite3daf3ca75f6a596ec6b6e5b08b73389407a58d2 (patch)
tree95ae172c6716a1fe35ce98219547a3fa8216ba8c /asxparser.c
parent83744e1bca75219173170bd6323597aa775625e6 (diff)
downloadmpv-e3daf3ca75f6a596ec6b6e5b08b73389407a58d2.tar.bz2
mpv-e3daf3ca75f6a596ec6b6e5b08b73389407a58d2.tar.xz
Respect -playlist for asx streams
Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12224 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'asxparser.c')
-rw-r--r--asxparser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/asxparser.c b/asxparser.c
index 29d53dbb0d..65c7d8ccc6 100644
--- a/asxparser.c
+++ b/asxparser.c
@@ -9,6 +9,7 @@
#include "playtree.h"
#include "playtreeparser.h"
#include "libmpdemux/stream.h"
+#include "libmpdemux/demuxer.h"
#include "asxparser.h"
#include "mp_msg.h"
#include "m_config.h"
@@ -506,7 +507,7 @@ asx_parse_entryref(ASX_Parser_t* parser,char* buffer,char** _attribs) {
char *href;
stream_t* stream;
play_tree_parser_t* ptp;
- int f;
+ int f=DEMUXER_TYPE_UNKNOWN;
if(parser->deep > 0)
return NULL;