null check

This commit is contained in:
niels
2015-10-30 01:02:53 +01:00
parent 7108d10637
commit 06ddb71751

View File

@@ -751,7 +751,9 @@ int vj_el_get_file_fourcc(editlist *el, int num, char *fourcc)
int vj_el_bogus_length( editlist *el, long nframe )
{
uint64_t n = 0;
if(! el)
return 0;
if( !el->has_video || el->is_empty )
return 0;