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

Shaleen shaleen.jain95 at gmail.com
Mon Apr 3 09:56:56 UTC 2017


Yes, that is correct. I wasn't thinking clearly.

On Mon, Apr 3, 2017 at 1:57 PM Christian König <deathsimple at vodafone.de>
wrote:

> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170403/7efcc34f/attachment.html>


More information about the mesa-dev mailing list