From 5a4ba0b72c9f1fc6945b4f9e680fc1ac4e2df5c9 Mon Sep 17 00:00:00 2001 From: ddennedy Date: Mon, 22 Mar 2004 13:24:45 +0000 Subject: [PATCH] null pointer check in end_playlist git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@227 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/modules/westley/producer_westley.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/modules/westley/producer_westley.c b/src/modules/westley/producer_westley.c index 2277ece..06c6cfe 100644 --- a/src/modules/westley/producer_westley.c +++ b/src/modules/westley/producer_westley.c @@ -373,6 +373,8 @@ static void on_end_playlist( deserialise_context context, const xmlChar *name ) { // Get the playlist from the stack mlt_service producer = context_pop_service( context ); + if ( producer == NULL ) + return; mlt_properties properties = mlt_service_properties( producer ); mlt_position in = mlt_properties_get_position( properties, "in" ); -- 1.7.4.4