summaryrefslogtreecommitdiffstats
path: root/libmpdemux/cddb.c
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-02 19:29:26 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-02 19:29:26 +0000
commit6a7e45b586c1817e284a654b6cff4aff60633821 (patch)
tree1dc312922ebab3cf95c3603216e49a0015ce8306 /libmpdemux/cddb.c
parentb47e8c276312e010cbd4e919aae31dc8e8df8449 (diff)
downloadmpv-6a7e45b586c1817e284a654b6cff4aff60633821.tar.bz2
mpv-6a7e45b586c1817e284a654b6cff4aff60633821.tar.xz
URL is cdda://tracks[:speed][/device]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9802 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/cddb.c')
-rw-r--r--libmpdemux/cddb.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/libmpdemux/cddb.c b/libmpdemux/cddb.c
index f0f6bc45d3..410ff6e9a1 100644
--- a/libmpdemux/cddb.c
+++ b/libmpdemux/cddb.c
@@ -776,34 +776,4 @@ cddb_parse_xmcd(char *xmcd_file) {
return cd_info;
}
-stream_t*
-cddb_open(char *dev, char *track) {
- stream_t *stream = NULL;
- cd_info_t *cd_info = NULL;
- cdda_priv *priv;
- char *xmcd_file = NULL;
- int ret;
-
- ret = cddb_resolve(dev, &xmcd_file);
-// if( ret<0 ) {
-// return NULL;
-// }
- if( ret==0 ) {
- cd_info = cddb_parse_xmcd(xmcd_file);
- free(xmcd_file);
- }
-
- stream = open_cdda(dev, track);
- if( stream==NULL ) {
- return NULL;
- }
-
- priv = ((cdda_priv*)(stream->priv));
- if( cd_info!=NULL ) {
- cd_info_free(priv->cd_info);
- priv->cd_info = cd_info;
- }
-cd_info_debug( cd_info );
- return stream;
-}
#endif