Commit d17e2ea2 authored by cRTrn13's avatar cRTrn13

aacs_close from libbluray

parent f0857ebe
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment