diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2007-10-08 17:46:45 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2007-10-08 17:46:45 +0000 |
commit | 1fe4050c0a299016b82bfdb70dd46d414a53a082 (patch) | |
tree | add3d2b8eac11170e06f70ef172f9f6bb066bf29 /gst/real/gstrealaudiodec.c | |
parent | 4865b3bf146fe7392aed1a9e2df2efcb63d19ead (diff) | |
download | gst-plugins-bad-1fe4050c0a299016b82bfdb70dd46d414a53a082.tar.gz gst-plugins-bad-1fe4050c0a299016b82bfdb70dd46d414a53a082.tar.bz2 gst-plugins-bad-1fe4050c0a299016b82bfdb70dd46d414a53a082.zip |
gst/: Fix compiler warnings shown by Forte.
Original commit message from CVS:
* gst/librfb/rfbbuffer.c: (rfb_buffer_new_and_alloc):
* gst/librfb/rfbbuffer.h:
* gst/librfb/rfbdecoder.c: (rfb_socket_get_buffer):
* gst/mpegvideoparse/mpegvideoparse.c: (gst_mpegvideoparse_chain):
* gst/nsf/nes6502.c: (nes6502_execute):
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_setcaps):
* gst/real/gstrealvideodec.c: (open_library):
* gst/real/gstrealvideodec.h:
* gst/rtpmanager/gstrtpsession.c: (create_recv_rtp_sink),
(create_recv_rtcp_sink), (create_send_rtp_sink):
Fix compiler warnings shown by Forte.
Diffstat (limited to 'gst/real/gstrealaudiodec.c')
-rw-r--r-- | gst/real/gstrealaudiodec.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/gst/real/gstrealaudiodec.c b/gst/real/gstrealaudiodec.c index 1045e11f..9cb1f5df 100644 --- a/gst/real/gstrealaudiodec.c +++ b/gst/real/gstrealaudiodec.c @@ -282,14 +282,16 @@ codec_search_done: g_module_symbol (module, "RASetPwd", &ra_set_pwd); g_module_symbol (module, "SetDLLAccessPath", &set_dll_access_path); - funcs.RACloseCodec = ra_close_codec; - funcs.RADecode = ra_decode; - funcs.RAFreeDecoder = ra_free_decoder; - funcs.RAOpenCodec2 = ra_open_codec2; - funcs.RAInitDecoder = ra_init_decoder; - funcs.RASetFlavor = ra_set_flavor; - funcs.RASetPwd = ra_set_pwd; - funcs.SetDLLAccessPath = set_dll_access_path; + funcs.RACloseCodec = (guint16 (*)(gpointer)) ra_close_codec; + funcs.RADecode = + (guint16 (*)(gpointer, guint8 *, guint32, guint8 *, guint32 *, guint32)) + ra_decode; + funcs.RAFreeDecoder = (guint16 (*)(gpointer)) ra_free_decoder; + funcs.RAOpenCodec2 = (guint16 (*)(gpointer, const gchar *)) ra_open_codec2; + funcs.RAInitDecoder = (guint16 (*)(gpointer, gpointer)) ra_init_decoder; + funcs.RASetFlavor = (guint16 (*)(gpointer, guint16)) ra_set_flavor; + funcs.RASetPwd = (void (*)(gpointer, gchar *)) ra_set_pwd; + funcs.SetDLLAccessPath = (void (*)(gchar *)) set_dll_access_path; if (funcs.SetDLLAccessPath) funcs.SetDLLAccessPath (split_path[i]); |