sanity check in case of symbol clashes with avifile
authorDavid I. Lehn <dlehn@users.sourceforge.net>
Thu, 5 Dec 2002 00:26:19 +0000 (00:26 +0000)
committerDavid I. Lehn <dlehn@users.sourceforge.net>
Thu, 5 Dec 2002 00:26:19 +0000 (00:26 +0000)
Original commit message from CVS:
sanity check in case of symbol clashes with avifile

ext/swfdec/gstswfdec.c

index db672d3..9f696e7 100644 (file)
@@ -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;