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

View file

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