From 332899b3b4155195b5d25d31ab078f9c5f811117 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 21 Aug 2007 15:59:39 +0000 Subject: gst/modplug/gstmodplug.cc: Fix compiler warning. Original commit message from CVS: * gst/modplug/gstmodplug.cc: Fix compiler warning. --- gst/modplug/gstmodplug.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/modplug') diff --git a/gst/modplug/gstmodplug.cc b/gst/modplug/gstmodplug.cc index b930153f..1b7bf936 100644 --- a/gst/modplug/gstmodplug.cc +++ b/gst/modplug/gstmodplug.cc @@ -459,7 +459,7 @@ gst_modplug_load_song (GstModPlug * modplug) GST_DEBUG_OBJECT (modplug, "Setting caps"); /* negotiate srcpad caps */ - if (othercaps = gst_pad_get_allowed_caps (modplug->srcpad)) { + if ((othercaps = gst_pad_get_allowed_caps (modplug->srcpad))) { newcaps = gst_caps_copy_nth (othercaps, 0); gst_caps_unref (othercaps); } else { -- cgit v1.2.1