Prevent crash when playing a movie with opengl
This commit is contained in:
parent
21317a5d31
commit
669300d4a4
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue