summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ext/audiofile/gstafsrc.c4
-rw-r--r--ext/hermes/yuv2rgb.c13
2 files changed, 2 insertions, 15 deletions
diff --git a/ext/audiofile/gstafsrc.c b/ext/audiofile/gstafsrc.c
index 657372e7..5f9d4dbe 100644
--- a/ext/audiofile/gstafsrc.c
+++ b/ext/audiofile/gstafsrc.c
@@ -76,7 +76,7 @@ GST_PADTEMPLATE_FACTORY (afsrc_src_factory,
#define GST_TYPE_AFSRC_TYPES (gst_afsrc_types_get_type())
/* FIXME: fix the string ints to be string-converted from the audiofile.h types */
-
+/* defined but not used
static GType
gst_afsrc_types_get_type (void)
{
@@ -96,7 +96,7 @@ gst_afsrc_types_get_type (void)
}
return afsrc_types_type;
}
-
+*/
static void gst_afsrc_class_init (GstAFSrcClass *klass);
static void gst_afsrc_init (GstAFSrc *afsrc);
diff --git a/ext/hermes/yuv2rgb.c b/ext/hermes/yuv2rgb.c
index b1fb0008..ec922d89 100644
--- a/ext/hermes/yuv2rgb.c
+++ b/ext/hermes/yuv2rgb.c
@@ -276,19 +276,6 @@ unsigned long a;
}
/*
- * Shift the 0s in the least significant end out of the longword.
- * Low performance, do not call often.
- */
-static unsigned long
-shifted_down(a)
-unsigned long a;
-{
- if(!a) return 0;
- if(a & 1) return a;
- return a >> 1;
-}
-
-/*
* How many 0 bits are there at most significant end of longword.
* Low performance, do not call often.
*/