summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--ChangeLog5
m---------common0
-rw-r--r--gst/modplug/gstmodplug.cc2
3 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f08c39cd..243d58ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-21 Wim Taymans <wim.taymans@gmail.com>
+
+ * gst/modplug/gstmodplug.cc:
+ Fix compiler warning.
+
2007-08-21 Stefan Kost <ensonic@users.sf.net>
* gst/modplug/gstmodplug.cc:
diff --git a/common b/common
-Subproject 9c7f1a63dfed1b2770b5fdaa16e0ae114b2177c
+Subproject cd25ca736bc2446800de2180ad71fc1da858d32
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 {