X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_playlist.c;fp=src%2Fframework%2Fmlt_playlist.c;h=0847f393768b5ee58638ebd79ff9eb312345514b;hb=407f72e8c783f126b60fcfc53f0a790f3aaee636;hp=0e0ba09ebcfa73fb7b0aa3ebd0f0f27c2c390601;hpb=a0d93c186fbbb55ad832a3eea2e2086786bdf940;p=melted diff --git a/src/framework/mlt_playlist.c b/src/framework/mlt_playlist.c index 0e0ba09..0847f39 100644 --- a/src/framework/mlt_playlist.c +++ b/src/framework/mlt_playlist.c @@ -521,7 +521,7 @@ mlt_position mlt_playlist_clip( mlt_playlist this, mlt_whence whence, int index int mlt_playlist_get_clip_info( mlt_playlist this, mlt_playlist_clip_info *info, int index ) { - int error = index < 0 || index >= this->count; + int error = index < 0 || index >= this->count || this->list[ index ]->producer == NULL; memset( info, 0, sizeof( mlt_playlist_clip_info ) ); if ( !error ) {