theoraplay: Fixed build when THEORAPLAY_NO_FOPEN_FALLBACK isn't defined.

This commit is contained in:
Ryan C. Gordon 2023-04-09 01:48:01 -04:00
parent d641dff3c7
commit 6e8044c244
No known key found for this signature in database
GPG key ID: FA148B892AB48044

View file

@ -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)