diff options
author | Peter Kjellerstedt <pkj@axis.com> | 2007-04-10 10:01:14 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-04-10 10:01:14 +0000 |
commit | 50f88db3adc166ac48020d61d9ee306a103d2e61 (patch) | |
tree | 9c64fe202f4f6990ae94a29085e719986d4dc81b | |
parent | f80444aaece651265c16121339c65c561ef2e7af (diff) |
gst/: Fix some compiler warnings. Fixes #428182.
Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis com>
* 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.
-rw-r--r-- | ChangeLog | 14 | ||||
m--------- | common | 0 | ||||
-rw-r--r-- | gst/avi/gstavidemux.c | 2 | ||||
-rw-r--r-- | gst/rtp/gstrtpL16depay.c | 2 | ||||
-rw-r--r-- | gst/rtp/gstrtpmp4gdepay.c | 3 | ||||
-rw-r--r-- | gst/rtp/gstrtpspeexdepay.c | 2 | ||||
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 2 | ||||
-rw-r--r-- | gst/udp/gstmultiudpsink.c | 1 |
8 files changed, 23 insertions, 3 deletions
@@ -1,3 +1,17 @@ +2007-04-10 Wim Taymans <wim@fluendo.com> + + Patch by: Peter Kjellerstedt <pkj at axis com> + + * 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 <wim@fluendo.com> * gst/rtsp/Makefile.am: diff --git a/common b/common -Subproject 57d4a1587556bd42c850601773c662211694c5a +Subproject 9097e252e477e18182f08a032d8860bdee9a041 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 <string.h> +#include <stdlib.h> #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 <string.h> +#include <stdlib.h> #include <gst/rtp/gstrtpbuffer.h> -#include <string.h> #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 <string.h> +#include <stdlib.h> #include <gst/rtp/gstrtpbuffer.h> + #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: { |