summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2002-04-06 18:14:31 +0000
committerBenjamin Otte <otte@gnome.org>2002-04-06 18:14:31 +0000
commit8a62726a379f8ee035a2e61bf7f503f0aca387cd (patch)
treea8355daaf2e7ca454235000138a77b177dadb4b4
parentf921acd1a638b5e2027af8fa3921948b8214ef5e (diff)
downloadgstreamer-plugins-bad-8a62726a379f8ee035a2e61bf7f503f0aca387cd.tar.gz
fixed warnings in /ext added mikmod_types.h to get it done
Original commit message from CVS: fixed warnings in /ext added mikmod_types.h to get it done
-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 657372e7c..5f9d4dbeb 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 b1fb0008b..ec922d896 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.
*/