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.
This commit is contained in:
Peter Kjellerstedt 2007-04-10 10:01:14 +00:00 committed by Wim Taymans
parent f80444aaec
commit 50f88db3ad
8 changed files with 24 additions and 4 deletions

View file

@ -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:

2
common

@ -1 +1 @@
Subproject commit 57d4a1587556bd42c850601773c662211694c5a6
Subproject commit 9097e252e477e18182f08a032d8860bdee9a0416

View file

@ -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;
}

View file

@ -20,7 +20,9 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <stdlib.h>
#include "gstrtpL16depay.h"

View file

@ -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);

View file

@ -22,7 +22,9 @@
#endif
#include <string.h>
#include <stdlib.h>
#include <gst/rtp/gstrtpbuffer.h>
#include "gstrtpspeexdepay.h"
/* elementfactory information */

View file

@ -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:

View file

@ -430,6 +430,7 @@ gst_multiudpsink_init_send (GstMultiUDPSink * sink)
join_multicast (client);
}
return TRUE;
/* ERRORS */
no_socket:
{