libaacs | branch: master | npzacs <[email protected]> | Sun Apr 17 21:36:35 2011 
+0300| [79ac3ee5d0f5b5b397721e1495fe09fcf3edfba8] | committer: npzacs

Use BD_DEBUG_MASK when AACS_DEBUG_MASK is undefined

> http://git.videolan.org/gitweb.cgi/libaacs.git/?a=commit;h=79ac3ee5d0f5b5b397721e1495fe09fcf3edfba8
---

 src/util/logging.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/util/logging.c b/src/util/logging.c
index 79e8835..53063a4 100644
--- a/src/util/logging.c
+++ b/src/util/logging.c
@@ -49,6 +49,8 @@ void aacs_debug(const char *file, int line, uint32_t mask, 
const char *format, .
         char *env = NULL;
         if ((env = getenv("AACS_DEBUG_MASK")))
             debug_mask = strtol(env, NULL, 0);
+        else if ((env = getenv("BD_DEBUG_MASK")))
+            debug_mask = strtol(env, NULL, 0);
 
         // Send DEBUG to file?
         if ((env = getenv("AACS_DEBUG_FILE"))) {

_______________________________________________
libaacs-devel mailing list
[email protected]
http://mailman.videolan.org/listinfo/libaacs-devel

Reply via email to