summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid I. Lehn <dlehn@users.sourceforge.net>2002-12-05 00:26:19 +0000
committerDavid I. Lehn <dlehn@users.sourceforge.net>2002-12-05 00:26:19 +0000
commit5daec672ada5fbe50a7ff3ab895e8ad5b616d8b7 (patch)
tree58f6a24fd1deb38d3239f9cea28f92aafc004eb9
parent3b7486c82001fb4509e00d188063d64c2e42b210 (diff)
downloadgst-plugins-bad-5daec672ada5fbe50a7ff3ab895e8ad5b616d8b7.tar.gz
gst-plugins-bad-5daec672ada5fbe50a7ff3ab895e8ad5b616d8b7.tar.bz2
gst-plugins-bad-5daec672ada5fbe50a7ff3ab895e8ad5b616d8b7.zip
sanity check in case of symbol clashes with avifile
Original commit message from CVS: sanity check in case of symbol clashes with avifile
-rw-r--r--ext/swfdec/gstswfdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/swfdec/gstswfdec.c b/ext/swfdec/gstswfdec.c
index db672d30..9f696e70 100644
--- a/ext/swfdec/gstswfdec.c
+++ b/ext/swfdec/gstswfdec.c
@@ -671,6 +671,7 @@ gst_swfdec_init (GstSwfdec *swfdec)
/* initialize the swfdec decoder state */
swfdec->state = swf_init();
+ g_return_if_fail(swfdec->state != NULL);
swfdec->state->colorspace = SWF_COLORSPACE_RGB888;