]> git.sesse.net Git - mlt/commitdiff
Fix compilation error in previous commit.
authorDan Dennedy <dan@dennedy.org>
Sun, 5 Jan 2014 17:05:30 +0000 (09:05 -0800)
committerDan Dennedy <dan@dennedy.org>
Sun, 5 Jan 2014 17:05:30 +0000 (09:05 -0800)
src/framework/mlt_playlist.c

index 04eef95a0fd20383dfc09f56d51d99d20a3e95b9..05a4c1b29c9146c9e8c2ce35da02003b21fc1021 100644 (file)
@@ -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 );