consumer purge
[melted] / src / framework / mlt_producer.c
index a35d134..fc161f5 100644 (file)
@@ -105,7 +105,7 @@ mlt_producer mlt_producer_new( )
 
 mlt_service mlt_producer_service( mlt_producer this )
 {
-       return &this->parent;
+       return this != NULL ? &this->parent : NULL;
 }
 
 /** Get the producer properties.