Module: Mesa Branch: master Commit: 6679a3439465118f3d9f97cca12d789b92e75374 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6679a3439465118f3d9f97cca12d789b92e75374
Author: Pierre-Eric Pelloux-Prayer <[email protected]> Date: Tue Dec 1 18:09:44 2020 +0100 vdpau: fix invalid enum usage Reviewed-by: Michel Dänzer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7846> --- src/gallium/frontends/vdpau/vdpau_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/frontends/vdpau/vdpau_private.h b/src/gallium/frontends/vdpau/vdpau_private.h index 05d8059eb1f..84889575cc0 100644 --- a/src/gallium/frontends/vdpau/vdpau_private.h +++ b/src/gallium/frontends/vdpau/vdpau_private.h @@ -115,7 +115,7 @@ FormatYCBCRToPipeChroma(VdpYCbCrFormat vdpau_format) assert(0); } - return PIPE_FORMAT_NONE; + return PIPE_VIDEO_CHROMA_FORMAT_NONE; } static inline enum pipe_format _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
