Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
8ed1af2f
Commit
8ed1af2f
authored
Apr 24, 2006
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some more cleaning
parent
ced209fa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
21 deletions
+5
-21
modules/demux/playlist/shoutcast.c
modules/demux/playlist/shoutcast.c
+5
-21
No files found.
modules/demux/playlist/shoutcast.c
View file @
8ed1af2f
...
@@ -55,11 +55,6 @@ struct demux_sys_t
...
@@ -55,11 +55,6 @@ struct demux_sys_t
*****************************************************************************/
*****************************************************************************/
static
int
Demux
(
demux_t
*
p_demux
);
static
int
Demux
(
demux_t
*
p_demux
);
static
int
Control
(
demux_t
*
p_demux
,
int
i_query
,
va_list
args
);
static
int
Control
(
demux_t
*
p_demux
,
int
i_query
,
va_list
args
);
#if 0
static void ShoutcastAdd( playlist_t *p_playlist, playlist_item_t* p_genre,
playlist_item_t *p_bitrate, playlist_item_t *p_item,
char *psz_genre, char *psz_bitrate );
#endif
static
int
DemuxGenre
(
demux_t
*
p_demux
);
static
int
DemuxGenre
(
demux_t
*
p_demux
);
static
int
DemuxStation
(
demux_t
*
p_demux
);
static
int
DemuxStation
(
demux_t
*
p_demux
);
...
@@ -146,10 +141,6 @@ static int Demux( demux_t *p_demux )
...
@@ -146,10 +141,6 @@ static int Demux( demux_t *p_demux )
p_xml
=
p_sys
->
p_xml
=
xml_Create
(
p_demux
);
p_xml
=
p_sys
->
p_xml
=
xml_Create
(
p_demux
);
if
(
!
p_xml
)
return
-
1
;
if
(
!
p_xml
)
return
-
1
;
/* psz_eltname = stream_ReadLine( p_demux->s );
if( psz_eltname ) free( psz_eltname );
psz_eltname = 0;*/
p_xml_reader
=
xml_ReaderCreate
(
p_xml
,
p_demux
->
s
);
p_xml_reader
=
xml_ReaderCreate
(
p_xml
,
p_demux
->
s
);
if
(
!
p_xml_reader
)
return
-
1
;
if
(
!
p_xml_reader
)
return
-
1
;
p_sys
->
p_xml_reader
=
p_xml_reader
;
p_sys
->
p_xml_reader
=
p_xml_reader
;
...
@@ -176,22 +167,15 @@ static int Demux( demux_t *p_demux )
...
@@ -176,22 +167,15 @@ static int Demux( demux_t *p_demux )
if
(
!
strcmp
(
psz_eltname
,
"genrelist"
)
)
if
(
!
strcmp
(
psz_eltname
,
"genrelist"
)
)
{
{
/* we're reading a genre list */
/* we're reading a genre list */
if
(
DemuxGenre
(
p_demux
)
)
{
free
(
psz_eltname
);
free
(
psz_eltname
);
return
-
1
;
if
(
DemuxGenre
(
p_demux
)
)
return
-
1
;
}
}
}
else
else
{
{
/* we're reading a station list */
/* we're reading a station list */
if
(
DemuxStation
(
p_demux
)
)
{
free
(
psz_eltname
);
free
(
psz_eltname
);
return
-
1
;
if
(
DemuxStation
(
p_demux
)
)
return
-
1
;
}
}
}
free
(
psz_eltname
);
/* Go back and play the playlist */
/* Go back and play the playlist */
if
(
b_play
&&
p_playlist
->
status
.
p_item
&&
if
(
b_play
&&
p_playlist
->
status
.
p_item
&&
...
@@ -308,7 +292,7 @@ static int DemuxGenre( demux_t *p_demux )
...
@@ -308,7 +292,7 @@ static int DemuxGenre( demux_t *p_demux )
FREE
(
psz_name
);
FREE
(
psz_name
);
}
}
free
(
psz_eltname
);
psz_eltname
=
NULL
;
FREE
(
psz_eltname
)
;
break
;
break
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment