Commit 3342b167 authored by Benjamin Otte's avatar Benjamin Otte
Browse files

Add -Wmissing-declarations -Wmissing-prototypes warning flags

And fix all the warnings.
parent 7e363149
...@@ -272,10 +272,10 @@ dnl set location of plugin directory ...@@ -272,10 +272,10 @@ dnl set location of plugin directory
AG_GST_SET_PLUGINDIR AG_GST_SET_PLUGINDIR
dnl define an ERROR_CFLAGS Makefile variable dnl define an ERROR_CFLAGS Makefile variable
AG_GST_SET_ERROR_CFLAGS($GST_GIT) AG_GST_SET_ERROR_CFLAGS($GST_GIT, [-Wmissing-declarations -Wmissing-prototypes])
dnl define an ERROR_CXXFLAGS Makefile variable dnl define an ERROR_CXXFLAGS Makefile variable
AG_GST_SET_ERROR_CXXFLAGS($GST_GIT) AG_GST_SET_ERROR_CXXFLAGS($GST_GIT, [-Wmissing-declarations -Wmissing-prototypes])
dnl define correct level for debugging messages dnl define correct level for debugging messages
AG_GST_SET_LEVEL_DEFAULT($GST_GIT) AG_GST_SET_LEVEL_DEFAULT($GST_GIT)
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <math.h> #include <math.h>
#include <gst/tag/tag.h> #include <gst/tag/tag.h>
#include "gstannodex.h"
#include "gstcmmlparser.h" #include "gstcmmlparser.h"
#include "gstcmmlenc.h" #include "gstcmmlenc.h"
#include "gstcmmldec.h" #include "gstcmmldec.h"
......
...@@ -91,6 +91,8 @@ struct _GstCmmlDecClass ...@@ -91,6 +91,8 @@ struct _GstCmmlDecClass
GstElementClass parent_class; GstElementClass parent_class;
}; };
GType gst_cmml_dec_get_type (void);
gboolean gst_cmml_dec_plugin_init (GstPlugin * plugin); gboolean gst_cmml_dec_plugin_init (GstPlugin * plugin);
#endif /* __GST_CMML_DEC_H__ */ #endif /* __GST_CMML_DEC_H__ */
...@@ -72,6 +72,8 @@ struct _GstCmmlEncClass ...@@ -72,6 +72,8 @@ struct _GstCmmlEncClass
GstElementClass parent_class; GstElementClass parent_class;
}; };
GType gst_cmml_enc_get_type (void);
gboolean gst_cmml_enc_plugin_init (GstPlugin * plugin); gboolean gst_cmml_enc_plugin_init (GstPlugin * plugin);
#endif /* __GST_CMML_ENC_H__ */ #endif /* __GST_CMML_ENC_H__ */
...@@ -121,7 +121,7 @@ gst_cmml_parser_parse_chunk (GstCmmlParser * parser, ...@@ -121,7 +121,7 @@ gst_cmml_parser_parse_chunk (GstCmmlParser * parser,
/* convert an xmlNodePtr to a string /* convert an xmlNodePtr to a string
*/ */
guchar * static guchar *
gst_cmml_parser_node_to_string (GstCmmlParser * parser, xmlNodePtr node) gst_cmml_parser_node_to_string (GstCmmlParser * parser, xmlNodePtr node)
{ {
xmlBufferPtr xml_buffer; xmlBufferPtr xml_buffer;
......
...@@ -386,27 +386,3 @@ gst_cmml_track_list_get_track_last_clip (GHashTable * tracks, ...@@ -386,27 +386,3 @@ gst_cmml_track_list_get_track_last_clip (GHashTable * tracks,
return res ? GST_CMML_TAG_CLIP (res->data) : NULL; return res ? GST_CMML_TAG_CLIP (res->data) : NULL;
} }
void
gst_cmml_track_list_set_data (GHashTable * tracks,
const gchar * track_name, gpointer data)
{
GstCmmlTrack *track;
g_return_if_fail (track_name != NULL);
track = g_hash_table_lookup (tracks, track_name);
if (track)
track->user_data = data;
}
gpointer
gst_cmml_track_get_data (GHashTable * tracks, const gchar * track_name)
{
GstCmmlTrack *track;
g_return_val_if_fail (track_name != NULL, NULL);
track = g_hash_table_lookup (tracks, track_name);
return track ? track->user_data : NULL;
}
...@@ -132,7 +132,7 @@ static GstStaticPadTemplate src_temp = GST_STATIC_PAD_TEMPLATE ("src", ...@@ -132,7 +132,7 @@ static GstStaticPadTemplate src_temp = GST_STATIC_PAD_TEMPLATE ("src",
); );
#define GST_TYPE_DVDEC_QUALITY (gst_dvdec_quality_get_type()) #define GST_TYPE_DVDEC_QUALITY (gst_dvdec_quality_get_type())
GType static GType
gst_dvdec_quality_get_type (void) gst_dvdec_quality_get_type (void)
{ {
static GType qtype = 0; static GType qtype = 0;
......
...@@ -232,7 +232,7 @@ static const GstFlacEncParams flacenc_params[] = { ...@@ -232,7 +232,7 @@ static const GstFlacEncParams flacenc_params[] = {
#define DEFAULT_SEEKPOINTS 0 #define DEFAULT_SEEKPOINTS 0
#define GST_TYPE_FLAC_ENC_QUALITY (gst_flac_enc_quality_get_type ()) #define GST_TYPE_FLAC_ENC_QUALITY (gst_flac_enc_quality_get_type ())
GType static GType
gst_flac_enc_quality_get_type (void) gst_flac_enc_quality_get_type (void)
{ {
static GType qtype = 0; static GType qtype = 0;
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "gstgdkpixbuf.h" #include "gstgdkpixbuf.h"
#include "gstgdkpixbufsink.h" #include "gstgdkpixbufsink.h"
#include "pixbufscale.h"
GST_DEBUG_CATEGORY_STATIC (gst_gdk_pixbuf_debug); GST_DEBUG_CATEGORY_STATIC (gst_gdk_pixbuf_debug);
#define GST_CAT_DEFAULT gst_gdk_pixbuf_debug #define GST_CAT_DEFAULT gst_gdk_pixbuf_debug
...@@ -75,8 +76,6 @@ static GstStaticPadTemplate gst_gdk_pixbuf_src_template = ...@@ -75,8 +76,6 @@ static GstStaticPadTemplate gst_gdk_pixbuf_src_template =
GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB "; " GST_VIDEO_CAPS_RGBA) GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB "; " GST_VIDEO_CAPS_RGBA)
); );
gboolean pixbufscale_init (GstPlugin * plugin);
static void gst_gdk_pixbuf_base_init (gpointer g_class); static void gst_gdk_pixbuf_base_init (gpointer g_class);
static void gst_gdk_pixbuf_class_init (GstGdkPixbufClass * klass); static void gst_gdk_pixbuf_class_init (GstGdkPixbufClass * klass);
static void gst_gdk_pixbuf_init (GstGdkPixbuf * filter, static void gst_gdk_pixbuf_init (GstGdkPixbuf * filter,
......
...@@ -75,7 +75,9 @@ struct _GstPixbufScaleClass { ...@@ -75,7 +75,9 @@ struct _GstPixbufScaleClass {
GstBaseTransformClass parent_class; GstBaseTransformClass parent_class;
}; };
static GType gst_pixbufscale_get_type(void); GType gst_pixbufscale_get_type(void);
gboolean pixbufscale_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS
......
...@@ -14,6 +14,7 @@ libgstjpeg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) ...@@ -14,6 +14,7 @@ libgstjpeg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstjpeg_la_LIBTOOLFLAGS = --tag=disable-static libgstjpeg_la_LIBTOOLFLAGS = --tag=disable-static
noinst_HEADERS = \ noinst_HEADERS = \
gstjpeg.h \
gstjpegdec.h gstjpegenc.h \ gstjpegdec.h gstjpegenc.h \
gstsmokeenc.h gstsmokedec.h \ gstsmokeenc.h gstsmokedec.h \
smokecodec.h smokeformat.h smokecodec.h smokeformat.h
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include <gst/gst.h> #include <gst/gst.h>
#include "gstjpeg.h"
#include "gstjpegdec.h" #include "gstjpegdec.h"
#include "gstjpegenc.h" #include "gstjpegenc.h"
#include "gstsmokeenc.h" #include "gstsmokeenc.h"
......
/* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GST_JPEG_H__
#define __GST_JPEG_H__
#include <glib-object.h>
G_BEGIN_DECLS
GType gst_idct_method_get_type (void);
G_END_DECLS
#endif /* __GST_JPEG_H__ */
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include <string.h> #include <string.h>
#include "gstjpegdec.h" #include "gstjpegdec.h"
#include "gstjpeg.h"
#include <gst/video/video.h> #include <gst/video/video.h>
#include "gst/gst-i18n-plugin.h" #include "gst/gst-i18n-plugin.h"
#include <jerror.h> #include <jerror.h>
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include <string.h> #include <string.h>
#include "gstjpegenc.h" #include "gstjpegenc.h"
#include "gstjpeg.h"
#include <gst/video/video.h> #include <gst/video/video.h>
/* experimental */ /* experimental */
......
...@@ -107,7 +107,7 @@ gst_wavpack_stream_reader_write_bytes (void *id, void *data, int32_t bcount) ...@@ -107,7 +107,7 @@ gst_wavpack_stream_reader_write_bytes (void *id, void *data, int32_t bcount)
} }
WavpackStreamReader * WavpackStreamReader *
gst_wavpack_stream_reader_new () gst_wavpack_stream_reader_new (void)
{ {
WavpackStreamReader *stream_reader = WavpackStreamReader *stream_reader =
(WavpackStreamReader *) g_malloc0 (sizeof (WavpackStreamReader)); (WavpackStreamReader *) g_malloc0 (sizeof (WavpackStreamReader));
......
...@@ -31,6 +31,6 @@ typedef struct ...@@ -31,6 +31,6 @@ typedef struct
uint32_t position; uint32_t position;
} read_id; } read_id;
WavpackStreamReader *gst_wavpack_stream_reader_new (); WavpackStreamReader *gst_wavpack_stream_reader_new (void);
#endif #endif
...@@ -105,6 +105,7 @@ GstStaticPadTemplate bmd_sink_template = GST_STATIC_PAD_TEMPLATE ("sink", ...@@ -105,6 +105,7 @@ GstStaticPadTemplate bmd_sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_DEBUG_CATEGORY_INIT (gst_break_my_data_debug, "breakmydata", 0, \ GST_DEBUG_CATEGORY_INIT (gst_break_my_data_debug, "breakmydata", 0, \
"debugging category for breakmydata element"); "debugging category for breakmydata element");
GType gst_break_my_data_get_type (void);
GST_BOILERPLATE_FULL (GstBreakMyData, gst_break_my_data, GstBaseTransform, GST_BOILERPLATE_FULL (GstBreakMyData, gst_break_my_data, GstBaseTransform,
GST_TYPE_BASE_TRANSFORM, DEBUG_INIT); GST_TYPE_BASE_TRANSFORM, DEBUG_INIT);
......
...@@ -65,6 +65,7 @@ static void gst_navseek_set_property (GObject * object, guint prop_id, ...@@ -65,6 +65,7 @@ static void gst_navseek_set_property (GObject * object, guint prop_id,
static void gst_navseek_get_property (GObject * object, guint prop_id, static void gst_navseek_get_property (GObject * object, guint prop_id,
GValue * value, GParamSpec * pspec); GValue * value, GParamSpec * pspec);
GType gst_navseek_get_type (void);
GST_BOILERPLATE (GstNavSeek, gst_navseek, GstBaseTransform, GST_BOILERPLATE (GstNavSeek, gst_navseek, GstBaseTransform,
GST_TYPE_BASE_TRANSFORM); GST_TYPE_BASE_TRANSFORM);
......
...@@ -96,6 +96,7 @@ static GstStateChangeReturn gst_rnd_buffer_size_change_state (GstElement * ...@@ -96,6 +96,7 @@ static GstStateChangeReturn gst_rnd_buffer_size_change_state (GstElement *
GST_DEBUG_CATEGORY_INIT (gst_rnd_buffer_size_debug, "rndbuffersize", 0, \ GST_DEBUG_CATEGORY_INIT (gst_rnd_buffer_size_debug, "rndbuffersize", 0, \
"rndbuffersize element"); "rndbuffersize element");
GType gst_rnd_buffer_size_get_type (void);
GST_BOILERPLATE_FULL (GstRndBufferSize, gst_rnd_buffer_size, GstElement, GST_BOILERPLATE_FULL (GstRndBufferSize, gst_rnd_buffer_size, GstElement,
GST_TYPE_ELEMENT, DEBUG_INIT); GST_TYPE_ELEMENT, DEBUG_INIT);
......
...@@ -90,6 +90,7 @@ static const GstElementDetails details = GST_ELEMENT_DETAILS ("Test plugin", ...@@ -90,6 +90,7 @@ static const GstElementDetails details = GST_ELEMENT_DETAILS ("Test plugin",
GST_DEBUG_CATEGORY_INIT (gst_test_debug, "testsink", 0, \ GST_DEBUG_CATEGORY_INIT (gst_test_debug, "testsink", 0, \
"debugging category for testsink element"); "debugging category for testsink element");
GType gst_test_get_type (void);
GST_BOILERPLATE_FULL (GstTest, gst_test, GstBaseSink, GST_TYPE_BASE_SINK, GST_BOILERPLATE_FULL (GstTest, gst_test, GstBaseSink, GST_TYPE_BASE_SINK,
DEBUG_INIT); DEBUG_INIT);
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include "x86-64_macros.inc" #include "x86-64_macros.inc"
void static void
FUNCT_NAME (GstDeinterlaceMethodGreedyH *self, uint8_t * L1, uint8_t * L2, uint8_t * L3, uint8_t * L2P, FUNCT_NAME (GstDeinterlaceMethodGreedyH *self, uint8_t * L1, uint8_t * L2, uint8_t * L3, uint8_t * L2P,
uint8_t * Dest, int size) uint8_t * Dest, int size)
{ {
......
...@@ -63,7 +63,7 @@ typedef struct ...@@ -63,7 +63,7 @@ typedef struct
uint8_t * L1, uint8_t * L3, uint8_t * L2P, uint8_t * Dest, int size); uint8_t * L1, uint8_t * L3, uint8_t * L2P, uint8_t * Dest, int size);
} GstDeinterlaceMethodGreedyHClass; } GstDeinterlaceMethodGreedyHClass;
void static void
greedyDScaler_C (GstDeinterlaceMethodGreedyH * self, uint8_t * L1, uint8_t * L2, greedyDScaler_C (GstDeinterlaceMethodGreedyH * self, uint8_t * L1, uint8_t * L2,
uint8_t * L3, uint8_t * L2P, uint8_t * Dest, int size) uint8_t * L3, uint8_t * L2P, uint8_t * Dest, int size)
{ {
......
...@@ -98,7 +98,7 @@ typedef union { ...@@ -98,7 +98,7 @@ typedef union {
/* Function to test if multimedia instructions are supported... /* Function to test if multimedia instructions are supported...
*/ */
inline extern int static inline int
mm_support(void) mm_support(void)
{ {
/* Returns 1 if MMX instructions are supported, /* Returns 1 if MMX instructions are supported,
...@@ -251,7 +251,7 @@ mm_support(void) ...@@ -251,7 +251,7 @@ mm_support(void)
/* Function to test if mmx instructions are supported... /* Function to test if mmx instructions are supported...
*/ */
inline extern int static inline int
mmx_ok(void) mmx_ok(void)
{ {
/* Returns 1 if MMX instructions are supported, 0 otherwise */ /* Returns 1 if MMX instructions are supported, 0 otherwise */
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
#define SEFUNC(x) Search_Effort_C_##x(src_pitch, dst_pitch, rowsize, pWeaveSrc, pWeaveSrcP, pWeaveDest, IsOdd, pCopySrc, pCopySrcP, FldHeight) #define SEFUNC(x) Search_Effort_C_##x(src_pitch, dst_pitch, rowsize, pWeaveSrc, pWeaveSrcP, pWeaveDest, IsOdd, pCopySrc, pCopySrcP, FldHeight)
#endif #endif
void FUNCT_NAME(GstDeinterlaceMethod *d_method, GstDeinterlace* object, GstBuffer *outbuf) static void FUNCT_NAME(GstDeinterlaceMethod *d_method, GstDeinterlace* object, GstBuffer *outbuf)
{ {
GstDeinterlaceMethodTomsMoComp *self = GST_DEINTERLACE_METHOD_TOMSMOCOMP (d_method); GstDeinterlaceMethodTomsMoComp *self = GST_DEINTERLACE_METHOD_TOMSMOCOMP (d_method);
long SearchEffort = self->search_effort; long SearchEffort = self->search_effort;
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "goom_visual_fx.h" #include "goom_visual_fx.h"
#include "goom_plugin_info.h" #include "goom_plugin_info.h"
VisualFX convolve_create (); VisualFX convolve_create (void);
VisualFX flying_star_create (void); VisualFX flying_star_create (void);
void zoom_filter_c(int sizeX, int sizeY, Pixel *src, Pixel *dest, int *brutS, int *brutD, int buffratio, int precalCoef[16][16]); void zoom_filter_c(int sizeX, int sizeY, Pixel *src, Pixel *dest, int *brutS, int *brutD, int buffratio, int precalCoef[16][16]);
......
...@@ -64,7 +64,7 @@ static int firstTime = 1; ...@@ -64,7 +64,7 @@ static int firstTime = 1;
static int sintable[0xffff]; static int sintable[0xffff];
ZoomFilterData * ZoomFilterData *
zoomFilterNew () zoomFilterNew (void)
{ {
ZoomFilterData *zf = malloc (sizeof (ZoomFilterData)); ZoomFilterData *zf = malloc (sizeof (ZoomFilterData));
...@@ -106,7 +106,7 @@ ShiftRight (int x, const unsigned char s) ...@@ -106,7 +106,7 @@ ShiftRight (int x, const unsigned char s)
px et py indique la nouvelle position (en sqrtperte ieme de pixel) px et py indique la nouvelle position (en sqrtperte ieme de pixel)
(valeur * 16) (valeur * 16)
*/ */
void static void
calculatePXandPY (GoomData * gd, int x, int y, int *px, int *py) calculatePXandPY (GoomData * gd, int x, int y, int *px, int *py)
{ {
ZoomFilterData *zf = gd->zfd; ZoomFilterData *zf = gd->zfd;
......
...@@ -55,7 +55,7 @@ Uint middleX, ...@@ -55,7 +55,7 @@ Uint middleX,
Uint middleY); Uint middleY);
*/ */
ZoomFilterData *zoomFilterNew (); ZoomFilterData *zoomFilterNew (void);
void zoomFilterDestroy (ZoomFilterData *zf); void zoomFilterDestroy (ZoomFilterData *zf);
void zoomFilterFastRGB (GoomData *goomdata, ZoomFilterData *zf, void zoomFilterFastRGB (GoomData *goomdata, ZoomFilterData *zf,
int zfd_update); int zfd_update);
......
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
#include <glib.h> #include <glib.h>
#include "mulaw-conversion.h"
#undef ZEROTRAP /* turn on the trap as per the MIL-STD */ #undef ZEROTRAP /* turn on the trap as per the MIL-STD */
#define BIAS 0x84 /* define the add-in bias for 16 bit samples */ #define BIAS 0x84 /* define the add-in bias for 16 bit samples */
#define CLIP 32635 #define CLIP 32635
......
...@@ -175,6 +175,7 @@ static GstCaps ...@@ -175,6 +175,7 @@ static GstCaps
/* stream methods */ /* stream methods */
static void gst_matroska_demux_reset (GstElement * element); static void gst_matroska_demux_reset (GstElement * element);
GType gst_matroska_demux_get_type (void);
GST_BOILERPLATE (GstMatroskaDemux, gst_matroska_demux, GstEbmlRead, GST_BOILERPLATE (GstMatroskaDemux, gst_matroska_demux, GstEbmlRead,
GST_TYPE_EBML_READ); GST_TYPE_EBML_READ);
......
...@@ -199,6 +199,7 @@ G_LOCK_DEFINE_STATIC (used_uids); ...@@ -199,6 +199,7 @@ G_LOCK_DEFINE_STATIC (used_uids);
static void gst_matroska_mux_add_interfaces (GType type); static void gst_matroska_mux_add_interfaces (GType type);
GType gst_matroska_mux_get_type (void);
GST_BOILERPLATE_FULL (GstMatroskaMux, gst_matroska_mux, GstElement, GST_BOILERPLATE_FULL (GstMatroskaMux, gst_matroska_mux, GstElement,
GST_TYPE_ELEMENT, gst_matroska_mux_add_interfaces); GST_TYPE_ELEMENT, gst_matroska_mux_add_interfaces);
...@@ -2343,7 +2344,7 @@ gst_matroska_mux_best_pad (GstMatroskaMux * mux, gboolean * popped) ...@@ -2343,7 +2344,7 @@ gst_matroska_mux_best_pad (GstMatroskaMux * mux, gboolean * popped)
* *
* Returns: New buffer. * Returns: New buffer.
*/ */
GstBuffer * static GstBuffer *
gst_matroska_mux_create_buffer_header (GstMatroskaTrackContext * track, gst_matroska_mux_create_buffer_header (GstMatroskaTrackContext * track,
gint16 relative_timestamp, int flags) gint16 relative_timestamp, int flags)
{ {
......
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
#include <gst/gst.h> #include <gst/gst.h>
extern gboolean gst_multipart_demux_plugin_init (GstPlugin * plugin); #include "multipartdemux.h"
extern gboolean gst_multipart_mux_plugin_init (GstPlugin * plugin); #include "multipartmux.h"
static gboolean static gboolean
plugin_init (GstPlugin * plugin) plugin_init (GstPlugin * plugin)
......
...@@ -200,7 +200,7 @@ gst_multipart_demux_init (GstMultipartDemux * multipart, ...@@ -200,7 +200,7 @@ gst_multipart_demux_init (GstMultipartDemux * multipart,
multipart->autoscan = DEFAULT_AUTOSCAN; multipart->autoscan = DEFAULT_AUTOSCAN;
} }
void static void
gst_multipart_pad_free (GstMultipartPad * mppad) gst_multipart_pad_free (GstMultipartPad * mppad)
{ {
g_free (mppad->mime); g_free (mppad->mime);
......
...@@ -93,6 +93,10 @@ struct _GstMultipartDemuxClass ...@@ -93,6 +93,10 @@ struct _GstMultipartDemuxClass
GHashTable *gstnames; GHashTable *gstnames;
}; };
GType gst_multipart_demux_get_type (void);
gboolean gst_multipart_demux_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS
#endif /* __GST_MULTIPART_DEMUX__ */ #endif /* __GST_MULTIPART_DEMUX__ */
......
...@@ -231,11 +231,11 @@ gst_multipart_mux_request_new_pad (GstElement * element, ...@@ -231,11 +231,11 @@ gst_multipart_mux_request_new_pad (GstElement * element,
/* construct our own wrapper data structure for the pad to /* construct our own wrapper data structure for the pad to
* keep track of its status */ * keep track of its status */
{ {
GstMultipartPad *multipartpad; GstMultipartPadData *multipartpad;
multipartpad = (GstMultipartPad *) multipartpad = (GstMultipartPadData *)