[Mesa-dev] [Bug 109761] misuse of enums in vdpau_private.h

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 24 14:02:23 UTC 2019


            Bug ID: 109761
           Summary: misuse of enums in vdpau_private.h
           Product: Mesa
           Version: git
          Hardware: All
                OS: NetBSD
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: coypu at sdf.org
        QA Contact: mesa-dev at lists.freedesktop.org

using a custom build system and clang 7, I get warnings about

functions like FormatYCBCRToPipeChroma return enum pipe_video_chroma_format.

PIPE_FORMAT_NONE, returned in the else case, isn't in this enum, it's enum

I can trivially replace for returning PIPE_VIDEO_CHROMA_FORMAT_NONE but that
sounds like a risky change that might have harmful effects, so making a bug
reports rather than a patch.

You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190224/128296ff/attachment.html>

More information about the mesa-dev mailing list