mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
This commit is contained in:
parent
1b5d7be2c9
commit
50356ade08
2 changed files with 5 additions and 5 deletions
|
@ -67,7 +67,7 @@ typedef struct
|
|||
} buffer_verify_data_s;
|
||||
|
||||
/* takes a copy of the passed buffer data */
|
||||
GstBuffer *
|
||||
static GstBuffer *
|
||||
buffer_new (const unsigned char *buffer_data, guint size)
|
||||
{
|
||||
GstBuffer *buffer;
|
||||
|
@ -143,7 +143,7 @@ buffer_verify_adts (void *buffer, void *user_data)
|
|||
buffer_counter++;
|
||||
}
|
||||
|
||||
GstElement *
|
||||
static GstElement *
|
||||
setup_aacparse (const gchar * src_caps_str)
|
||||
{
|
||||
GstElement *aacparse;
|
||||
|
@ -487,7 +487,7 @@ GST_END_TEST;
|
|||
|
||||
|
||||
static Suite *
|
||||
aacparse_suite ()
|
||||
aacparse_suite (void)
|
||||
{
|
||||
Suite *s = suite_create ("aacparse");
|
||||
TCase *tc_chain = tcase_create ("general");
|
||||
|
|
|
@ -90,7 +90,7 @@ typedef struct
|
|||
/*
|
||||
* Create a GstBuffer of the given data and set the caps, if not NULL.
|
||||
*/
|
||||
GstBuffer *
|
||||
static GstBuffer *
|
||||
buffer_new (const unsigned char *buffer_data, guint size,
|
||||
const gchar * caps_str)
|
||||
{
|
||||
|
@ -174,7 +174,7 @@ buffer_verify_wb (void *buffer, void *user_data)
|
|||
/*
|
||||
* Create a parser and pads according to given templates.
|
||||
*/
|
||||
GstElement *
|
||||
static GstElement *
|
||||
setup_amrparse (GstStaticPadTemplate * srctemplate,
|
||||
GstStaticPadTemplate * sinktemplate)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue