gst/modplug/gstmodplug.cc: Fix compiler warning.

Original commit message from CVS:
* gst/modplug/gstmodplug.cc:
Fix compiler warning.
This commit is contained in:
Wim Taymans 2007-08-21 15:59:39 +00:00
parent 77d01626c1
commit 332899b3b4
3 changed files with 7 additions and 2 deletions

View file

@ -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:

2
common

@ -1 +1 @@
Subproject commit 9c7f1a63dfed1b2770b5fdaa16e0ae114b2177cf
Subproject commit cd25ca736bc2446800de2180ad71fc1da858d324

View file

@ -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 {