mirror of
https://github.com/icculus/DirkSimple.git
synced 2024-06-02 03:07:42 -04:00
theoraplay: Fixed build when THEORAPLAY_NO_FOPEN_FALLBACK isn't defined.
This commit is contained in:
parent
d641dff3c7
commit
6e8044c244
2
thirdparty/theoraplay/theoraplay.c
vendored
2
thirdparty/theoraplay/theoraplay.c
vendored
|
@ -878,7 +878,7 @@ THEORAPLAY_Decoder *THEORAPLAY_startDecodeFile(const char *fname,
|
|||
|
||||
THEORAPLAY_IoUserData *userdata = (THEORAPLAY_IoUserData *) (io + 1); /* we allocated it right after the Io interface */
|
||||
|
||||
memcpy(&userdata->allocator, allocator, sizeof (THEORAPLAY_allocator));
|
||||
memcpy(&userdata->allocator, allocator, sizeof (THEORAPLAY_Allocator));
|
||||
|
||||
userdata->f = fopen(fname, "rb");
|
||||
if (userdata->f == NULL)
|
||||
|
|
Loading…
Reference in a new issue