Fix crash: file can be NULL here.
This commit is contained in:
parent
33127a90d5
commit
d7227a74d3
|
@ -1160,7 +1160,12 @@ video_file_autosub_set(Evas_Object *obj, const char *file, const char *sub)
|
|||
}
|
||||
if (!found) video_sub_file_set(obj, NULL);
|
||||
}
|
||||
else video_sub_file_set(obj, sub);
|
||||
else
|
||||
{
|
||||
video_sub_file_set(obj, sub);
|
||||
}
|
||||
|
||||
if (file)
|
||||
video_file_set(obj, file);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue