summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-09-14 13:29:23 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-09-14 13:29:23 +0000
commit5ed6c44df519dadd39bd99904d98865036f1e3a5 (patch)
tree1bbef636ad362ce51a583a112e944172e315b3c1 /sys
parent3496b772879d5aa5f01789007981dbdfe617344b (diff)
downloadgst-plugins-bad-5ed6c44df519dadd39bd99904d98865036f1e3a5.tar.gz
gst-plugins-bad-5ed6c44df519dadd39bd99904d98865036f1e3a5.tar.bz2
gst-plugins-bad-5ed6c44df519dadd39bd99904d98865036f1e3a5.zip
this broke the compile for me. Did it work for anyone ? does this plugin work at all ?
Original commit message from CVS: this broke the compile for me. Did it work for anyone ? does this plugin work at all ?
Diffstat (limited to 'sys')
-rw-r--r--sys/cdrom/gstcdplayer_ioctl.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/cdrom/gstcdplayer_ioctl.c b/sys/cdrom/gstcdplayer_ioctl.c
index 532d9fc1..b0ed183e 100644
--- a/sys/cdrom/gstcdplayer_ioctl.c
+++ b/sys/cdrom/gstcdplayer_ioctl.c
@@ -31,14 +31,16 @@
/* private functions */
+/* not used
static void cd_fix_track_range(struct cd *cd,gint *start_track,gint *end_track);
+*/
static gint cddb_sum(gint n);
#ifdef HAVE_LINUX_CDROM_H
#include <linux/cdrom.h>
-#elif define HAVE_SYS_CDIO_H
+#elif defined HAVE_SYS_CDIO_H
#include <sys/cdio.h>
/*
irix cdaudio works quite a bit differently than ioctl(), so its not ready
@@ -67,6 +69,8 @@ irix cdaudio works quite a bit differently than ioctl(), so its not ready
*/
#endif
+#ifdef NOTDEFINED
+/* this doesn't seem to get used, does it */
static void cd_fix_track_range(struct cd *cd,gint *start_track,gint *end_track)
{
if (*start_track <= 0) {
@@ -88,6 +92,7 @@ static void cd_fix_track_range(struct cd *cd,gint *start_track,gint *end_track)
return;
}
+#endif
/* this cddb info is from
http://www.freedb.org/modules.php?name=Sections&sop=viewarticle&artid=6