Commit ff302294 authored by hpi1's avatar hpi1

Added return value to _libbdplus_open()

parent b8915749
......@@ -478,7 +478,7 @@ static void _libbdplus_close(BLURAY *bd)
bd->bdplus_fixup = NULL;
}
static void _libbdplus_open(BLURAY *bd, const char *keyfile_path)
static int _libbdplus_open(BLURAY *bd, const char *keyfile_path)
{
_libbdplus_close(bd);
......@@ -525,6 +525,8 @@ static void _libbdplus_open(BLURAY *bd, const char *keyfile_path)
#endif
} // file_open
X_FREE(tmp);
return !!bd->bdplus;
}
static int _index_open(BLURAY *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