summaryrefslogtreecommitdiffstats
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)
downloadgst-plugins-bad-8a62726a379f8ee035a2e61bf7f503f0aca387cd.tar.gz
gst-plugins-bad-8a62726a379f8ee035a2e61bf7f503f0aca387cd.tar.bz2
gst-plugins-bad-8a62726a379f8ee035a2e61bf7f503f0aca387cd.zip
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 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.
*/