[Mesa-dev] [PATCH] st/omx/dec: Properly undefine DEBUG macro

Shaleen Jain shaleen.jain95 at gmail.com
Mon Apr 3 04:35:54 UTC 2017


---
 src/gallium/state_trackers/omx/vid_dec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/state_trackers/omx/vid_dec.c b/src/gallium/state_trackers/omx/vid_dec.c
index 9a6efb8e28..94664eba04 100644
--- a/src/gallium/state_trackers/omx/vid_dec.c
+++ b/src/gallium/state_trackers/omx/vid_dec.c
@@ -37,7 +37,7 @@
 #include <OMX_Video.h>
 
 /* bellagio defines a DEBUG macro that we don't want */
-#ifndef DEBUG
+#ifdef DEBUG
 #include <bellagio/omxcore.h>
 #undef DEBUG
 #else
-- 
2.12.1



More information about the mesa-dev mailing list