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

Christian König deathsimple at vodafone.de
Mon Apr 3 08:26:32 UTC 2017


Am 03.04.2017 um 06:35 schrieb Shaleen Jain:
> ---
>   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

NAK, the logic locked correct as it was before.

Why do you want to invert it?

Regards,
Christian.

>   #include <bellagio/omxcore.h>
>   #undef DEBUG
>   #else




More information about the mesa-dev mailing list