mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-03 09:12:19 +00:00
gst/: Initialise variables to work around (false) 'foo might be used uninitialized in this function' warnings by gcc-...
Original commit message from CVS: * gst/avi/gstavisubtitle.c: (gst_avi_subtitle_extract_file): * gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send): Initialise variables to work around (false) 'foo might be used uninitialized in this function' warnings by gcc-3.3.3 (#509298).
This commit is contained in:
parent
4fa1b883df
commit
11118eabb9
4 changed files with 13 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2008-01-14 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/avi/gstavisubtitle.c: (gst_avi_subtitle_extract_file):
|
||||||
|
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_send):
|
||||||
|
Initialise variables to work around (false) 'foo might be used
|
||||||
|
uninitialized in this function' warnings by gcc-3.3.3 (#509298).
|
||||||
|
|
||||||
2008-01-11 David Schleef <ds@schleef.org>
|
2008-01-11 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
* docs/plugins/.cvsignore:
|
* docs/plugins/.cvsignore:
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit bd02d788384b40ff511cac0e32aa77f51a68912d
|
Subproject commit 36e8d05157d6c831e0d3919ae2ee9c342498eda8
|
|
@ -78,7 +78,7 @@ gst_avi_subtitle_extract_file (GstAviSubtitle * sub, GstBuffer * buffer,
|
||||||
guint offset, guint len)
|
guint offset, guint len)
|
||||||
{
|
{
|
||||||
const gchar *input_enc = NULL;
|
const gchar *input_enc = NULL;
|
||||||
GstBuffer *ret;
|
GstBuffer *ret = NULL;
|
||||||
gchar *data;
|
gchar *data;
|
||||||
|
|
||||||
data = (gchar *) GST_BUFFER_DATA (buffer) + offset;
|
data = (gchar *) GST_BUFFER_DATA (buffer) + offset;
|
||||||
|
@ -111,6 +111,8 @@ gst_avi_subtitle_extract_file (GstAviSubtitle * sub, GstBuffer * buffer,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_return_val_if_fail (ret != NULL || input_enc != NULL, NULL);
|
||||||
|
|
||||||
if (input_enc) {
|
if (input_enc) {
|
||||||
GError *err = NULL;
|
GError *err = NULL;
|
||||||
gchar *utf8;
|
gchar *utf8;
|
||||||
|
|
|
@ -3215,10 +3215,10 @@ gst_rtspsrc_send (GstRTSPSrc * src, GstRTSPMessage * request,
|
||||||
GstRTSPMessage * response, GstRTSPStatusCode * code)
|
GstRTSPMessage * response, GstRTSPStatusCode * code)
|
||||||
{
|
{
|
||||||
GstRTSPStatusCode int_code = GST_RTSP_STS_OK;
|
GstRTSPStatusCode int_code = GST_RTSP_STS_OK;
|
||||||
GstRTSPResult res;
|
GstRTSPResult res = GST_RTSP_ERROR;
|
||||||
gint count;
|
gint count;
|
||||||
gboolean retry;
|
gboolean retry;
|
||||||
GstRTSPMethod method;
|
GstRTSPMethod method = GST_RTSP_INVALID;
|
||||||
|
|
||||||
count = 0;
|
count = 0;
|
||||||
do {
|
do {
|
||||||
|
|
Loading…
Reference in a new issue