From 50f88db3adc166ac48020d61d9ee306a103d2e61 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Tue, 10 Apr 2007 10:01:14 +0000 Subject: gst/: Fix some compiler warnings. Fixes #428182. Original commit message from CVS: Patch by: Peter Kjellerstedt * gst/avi/gstavidemux.c: (gst_avi_demux_massage_index): * gst/rtp/gstrtpL16depay.c: * gst/rtp/gstrtpmp4gdepay.c: (gst_rtp_mp4g_depay_process): * gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_get_mode), (gst_rtp_speex_depay_setcaps): * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_media_to_caps), (gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_loop_udp): * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init_send): Fix some compiler warnings. Fixes #428182. --- ChangeLog | 14 ++++++++++++++ common | 2 +- gst/avi/gstavidemux.c | 2 +- gst/rtp/gstrtpL16depay.c | 2 ++ gst/rtp/gstrtpmp4gdepay.c | 3 ++- gst/rtp/gstrtpspeexdepay.c | 2 ++ gst/rtsp/gstrtspsrc.c | 2 +- gst/udp/gstmultiudpsink.c | 1 + 8 files changed, 24 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index af8c0dcc..4f8c8e93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2007-04-10 Wim Taymans + + Patch by: Peter Kjellerstedt + + * gst/avi/gstavidemux.c: (gst_avi_demux_massage_index): + * gst/rtp/gstrtpL16depay.c: + * gst/rtp/gstrtpmp4gdepay.c: (gst_rtp_mp4g_depay_process): + * gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_get_mode), + (gst_rtp_speex_depay_setcaps): + * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_media_to_caps), + (gst_rtspsrc_stream_configure_transport), (gst_rtspsrc_loop_udp): + * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init_send): + Fix some compiler warnings. Fixes #428182. + 2007-04-06 Wim Taymans * gst/rtsp/Makefile.am: diff --git a/common b/common index 57d4a158..9097e252 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 57d4a1587556bd42c850601773c662211694c5a6 +Subproject commit 9097e252e477e18182f08a032d8860bdee9a0416 diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index 1cc445e0..89944554 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -2368,7 +2368,7 @@ gst_avi_demux_massage_index (GstAviDemux * avi, /* ERRORS */ out_of_mem: - GST_WARNING_OBJECT (avi, "Out of memory for %lu bytes", + GST_WARNING_OBJECT (avi, "Out of memory for %" G_GSIZE_FORMAT " bytes", sizeof (gst_avi_index_entry) * avi->index_size); return FALSE; } diff --git a/gst/rtp/gstrtpL16depay.c b/gst/rtp/gstrtpL16depay.c index fb753b75..2a5a4b71 100644 --- a/gst/rtp/gstrtpL16depay.c +++ b/gst/rtp/gstrtpL16depay.c @@ -20,7 +20,9 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif + #include +#include #include "gstrtpL16depay.h" diff --git a/gst/rtp/gstrtpmp4gdepay.c b/gst/rtp/gstrtpmp4gdepay.c index 403412b5..c9e2d453 100644 --- a/gst/rtp/gstrtpmp4gdepay.c +++ b/gst/rtp/gstrtpmp4gdepay.c @@ -21,9 +21,10 @@ # include "config.h" #endif +#include +#include #include -#include #include "gstrtpmp4gdepay.h" GST_DEBUG_CATEGORY_STATIC (rtpmp4gdepay_debug); diff --git a/gst/rtp/gstrtpspeexdepay.c b/gst/rtp/gstrtpspeexdepay.c index 833b029f..c18c5e22 100644 --- a/gst/rtp/gstrtpspeexdepay.c +++ b/gst/rtp/gstrtpspeexdepay.c @@ -22,7 +22,9 @@ #endif #include +#include #include + #include "gstrtpspeexdepay.h" /* elementfactory information */ diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index d64da033..f5513bbb 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -1327,7 +1327,7 @@ no_manager: } manager_failed: { - GST_DEBUG_OBJECT (src, "no session manager element %d found", manager); + GST_DEBUG_OBJECT (src, "no session manager element %s found", manager); return FALSE; } no_element: diff --git a/gst/udp/gstmultiudpsink.c b/gst/udp/gstmultiudpsink.c index bcafd95f..542eb470 100644 --- a/gst/udp/gstmultiudpsink.c +++ b/gst/udp/gstmultiudpsink.c @@ -430,6 +430,7 @@ gst_multiudpsink_init_send (GstMultiUDPSink * sink) join_multicast (client); } return TRUE; + /* ERRORS */ no_socket: { -- cgit