From 12ed0428a9104e83b185c9423f731dd1ef4a94a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 28 Feb 2015 13:31:41 +0000 Subject: [PATCH] gst-play: fix compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ‘return’ with no value, in function returning non-void --- tools/gst-play.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gst-play.c b/tools/gst-play.c index 3f0516a..860e451 100644 --- a/tools/gst-play.c +++ b/tools/gst-play.c @@ -655,7 +655,7 @@ play_set_rate_and_trick_mode (GstPlay * play, gdouble rate, gboolean seekable = FALSE; gint64 pos = -1; - g_return_if_fail (rate != 0); + g_return_val_if_fail (rate != 0, FALSE); if (!gst_element_query_position (play->playbin, GST_FORMAT_TIME, &pos)) return FALSE; -- 2.7.4