Okay, don't be stupid and crash even though you know it doesn't work.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2092 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-03-12 05:23:18 +00:00
parent a93e959fa4
commit e6993268bf
1 changed files with 3 additions and 0 deletions

View File

@ -272,6 +272,9 @@ qboolean OV_StartDecode(unsigned char *start, unsigned long length, ovdecoderbuf
}
#endif
if (!oggvorbislibrary)
return false;
buffer->start = start;
buffer->length = length;
buffer->pos = 0;