sbc: First attempt in fixing compiler warnings (still needs cleanup)

This commit is contained in:
Marcel Holtmann 2008-12-23 05:25:50 +01:00 committed by Tim-Philipp Müller
parent 57f6f2655d
commit 54f6cd0218
7 changed files with 6 additions and 8 deletions

View file

@ -27,6 +27,7 @@
#include <string.h>
#include "gstsbcutil.h"
#include "gstsbcdec.h"
GST_DEBUG_CATEGORY_STATIC (sbc_dec_debug);

View file

@ -24,7 +24,6 @@
#include <gst/gst.h>
#include "sbc.h"
#include "gstsbcutil.h"
G_BEGIN_DECLS
@ -60,7 +59,7 @@ struct _GstSbcDecClass {
GstElementClass parent_class;
};
GType gst_sbc_dec_get_type(void);
//GType gst_sbc_dec_get_type(void);
gboolean gst_sbc_dec_plugin_init(GstPlugin *plugin);

View file

@ -27,8 +27,8 @@
#include <string.h>
#include "gstsbcenc.h"
#include "gstsbcutil.h"
#include "gstsbcenc.h"
#define SBC_ENC_DEFAULT_MODE SBC_MODE_AUTO
#define SBC_ENC_DEFAULT_BLOCKS 0

View file

@ -68,7 +68,7 @@ struct _GstSbcEncClass {
GstElementClass parent_class;
};
GType gst_sbc_enc_get_type(void);
//GType gst_sbc_enc_get_type(void);
gboolean gst_sbc_enc_plugin_init(GstPlugin *plugin);

View file

@ -27,8 +27,8 @@
#include <string.h>
#include "gstsbcparse.h"
#include "gstsbcutil.h"
#include "gstsbcparse.h"
GST_DEBUG_CATEGORY_STATIC (sbc_parse_debug);
#define GST_CAT_DEFAULT sbc_parse_debug

View file

@ -62,7 +62,7 @@ struct _GstSbcParseClass {
GstElementClass parent_class;
};
GType gst_sbc_parse_get_type(void);
//GType gst_sbc_parse_get_type(void);
gboolean gst_sbc_parse_plugin_init(GstPlugin *plugin);

View file

@ -39,8 +39,6 @@ gint gst_sbc_select_subbands_from_list(const GValue *value);
gint gst_sbc_select_bitpool_from_range(const GValue *value);
gint gst_sbc_select_bitpool_from_range(const GValue *value);
const gchar *gst_sbc_get_allocation_from_list(const GValue *value);
const gchar *gst_sbc_get_mode_from_list(const GValue *value, gint channels);