Prevent crash when playing a movie with opengl

This commit is contained in:
jsalmon3 2004-05-23 19:46:06 +00:00
parent 21317a5d31
commit 669300d4a4

View file

@ -376,6 +376,9 @@ global int PlayMovie(const char* file, int flags)
{
printf("FIXME: PlayMovie(\"%s\",%x) not supported.\n", file, flags);
if (strcasestr(file, ".avi\0")) {
return 0;
}
return 1;
}