1
0
Fork 0

aacs_close from libbluray

This commit is contained in:
cRTrn13 2009-10-15 19:48:26 +00:00
parent f0857ebe12
commit d17e2ea27d
1 changed files with 4 additions and 1 deletions

View File

@ -23,7 +23,10 @@ BLURAY *bd_open(const char* device_path, const char* keyfile_path)
void bd_close(BLURAY *bd)
{
if (bd->libaacs_h) {
aacs_close(bd->aacs);
typedef void* (*fptr)();
fptr fptr_s = dlsym(bd->libaacs_h, "aacs_close");
fptr_s(bd->aacs);
}
X_FREE(bd);