summaryrefslogtreecommitdiffstats
path: root/gst/modplug
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-08-21 15:59:39 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-08-21 15:59:39 +0000
commit332899b3b4155195b5d25d31ab078f9c5f811117 (patch)
tree77961acfd6f342575af2d741a5571a966927c1e2 /gst/modplug
parent77d01626c1e14c64be6bcabcb1dff0a60050e56b (diff)
downloadgst-plugins-bad-332899b3b4155195b5d25d31ab078f9c5f811117.tar.gz
gst-plugins-bad-332899b3b4155195b5d25d31ab078f9c5f811117.tar.bz2
gst-plugins-bad-332899b3b4155195b5d25d31ab078f9c5f811117.zip
gst/modplug/gstmodplug.cc: Fix compiler warning.
Original commit message from CVS: * gst/modplug/gstmodplug.cc: Fix compiler warning.
Diffstat (limited to 'gst/modplug')
-rw-r--r--gst/modplug/gstmodplug.cc2
1 files changed, 1 insertions, 1 deletions
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 {