mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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
This commit is contained in:
parent
f921acd1a6
commit
8a62726a37
2 changed files with 2 additions and 15 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -275,19 +275,6 @@ unsigned long a;
|
|||
return(number_of_bits_set(a >> 1));
|
||||
}
|
||||
|
||||
/*
|
||||
* 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.
|
||||
|
|
Loading…
Reference in a new issue