summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-24 11:53:26 +0000
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-24 11:53:26 +0000
commita6a94fec489e59ef5af311bb3a2867d760d0953b (patch)
treeef2864d3ec159daf784988ba6e6f470b6ba27498 /ext
parent72adc42a154c128e1943e5a0c1ffecf0eddba2b9 (diff)
flite: fix uninitialized return value
Diffstat (limited to 'ext')
-rw-r--r--ext/flite/gstflitetestsrc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/flite/gstflitetestsrc.c b/ext/flite/gstflitetestsrc.c
index 1e3381c7f..33fd7938a 100644
--- a/ext/flite/gstflitetestsrc.c
+++ b/ext/flite/gstflitetestsrc.c
@@ -269,7 +269,6 @@ static gboolean
gst_flite_test_src_set_caps (GstBaseSrc * basesrc, GstCaps * caps)
{
GstFliteTestSrc *src = GST_FLITE_TEST_SRC (basesrc);
- gboolean ret;
gst_audio_info_init (&src->info);
if (!gst_audio_info_from_caps (&src->info, caps)) {
@@ -277,7 +276,7 @@ gst_flite_test_src_set_caps (GstBaseSrc * basesrc, GstCaps * caps)
return FALSE;
}
- return ret;
+ return TRUE;
}
#if 0