From: Dan Dennedy Date: Sun, 5 Jan 2014 17:05:30 +0000 (-0800) Subject: Fix compilation error in previous commit. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=1a3ab728b9a49133fb5e8b374d9ba3c2f34c9db7;p=mlt Fix compilation error in previous commit. --- diff --git a/src/framework/mlt_playlist.c b/src/framework/mlt_playlist.c index 04eef95a..05a4c1b2 100644 --- a/src/framework/mlt_playlist.c +++ b/src/framework/mlt_playlist.c @@ -1561,11 +1561,11 @@ mlt_producer mlt_playlist_replace_with_blank( mlt_playlist self, int clip ) void mlt_playlist_insert_blank( mlt_playlist self, int clip, int out ) { - if ( self != NULL && length >= 0 ) + if ( self != NULL && out >= 0 ) { mlt_properties properties = MLT_PLAYLIST_PROPERTIES( self ); mlt_events_block( properties, properties ); - mlt_playlist_blank( self, length ); + mlt_playlist_blank( self, out ); mlt_playlist_move( self, self->count - 1, clip ); mlt_events_unblock( properties, properties ); mlt_playlist_virtual_refresh( self );