From 0848780c9c97c2aca435b954e762f7915598d970 Mon Sep 17 00:00:00 2001 From: j-b-m Date: Sat, 25 Jul 2009 09:32:59 +0200 Subject: [PATCH] Fix bug preventing removal of one frame region modified: mlt_playlist.c --- src/framework/mlt_playlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/framework/mlt_playlist.c b/src/framework/mlt_playlist.c index 36ba9b7e..8339169b 100644 --- a/src/framework/mlt_playlist.c +++ b/src/framework/mlt_playlist.c @@ -1693,7 +1693,7 @@ int mlt_playlist_remove_region( mlt_playlist this, mlt_position position, int le clip_length -= position - clip_start; } - while( length > 0 ) + while( length >= 0 ) { if ( mlt_playlist_clip_length( this, index ) > length ) mlt_playlist_split( this, index, length ); -- 2.39.2