summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-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;