Make debug_init and debug_mask static globals. This should be safe to call in threads, since their values change only once during the life of a program using these functions.
Make debug_init and debug_mask static globals.
This should be safe to call in threads, since their values change only once
during the life of a program using these functions.

EdwardNewK/libbluray,mwgoldsmith/bluray,pingflood/libbluray,tourettes/libbluray,UIKit0/libbluray,Distrotech/libbluray,koying/libbluray,UIKit0/libbluray,mwgoldsmith/bluray,zxlooong/libbluray,koying/libbluray,tourettes/libbluray,ace20022/libbluray,vlc-mirror/libbluray,ace20022/libbluray,Azzuro/libbluray,mwgoldsmith/bluray,zxlooong/libbluray,ShiftMediaProject/libbluray,Distrotech/libbluray,UIKit0/libbluray,koying/libbluray,Azzuro/libbluray,tourettes/libbluray,Azzuro/libbluray,koying/libbluray,pingflood/libbluray,zxlooong/libbluray,EdwardNewK/libbluray,ShiftMediaProject/libbluray,pingflood/libbluray,vlc-mirror/libbluray,ShiftMediaProject/libbluray,ace20022/libbluray,Distrotech/libbluray,EdwardNewK/libbluray,mwgoldsmith/bluray,ShiftMediaProject/libbluray,EdwardNewK/libbluray,Distrotech/libbluray,vlc-mirror/libbluray,vlc-mirror/libbluray,UIKit0/libbluray,tourettes/libbluray,Azzuro/libbluray,ace20022/libbluray