[Libva] [PATCH] Missing 'do' in "do ...while" in macro ALLOC_VDENC_BUFFER_RESOURCE
Xiang, Haihao
haihao.xiang at intel.com
Wed Jul 27 08:11:12 UTC 2016
Applied.
Thanks
Haihao
> Signed-off-by: Lim Siew Hoon <siew.hoon.lim at intel.com>
> Reviewed-by:Zhao Yakui <yakui.zhao at intel.com>
> ---
> src/gen9_vdenc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gen9_vdenc.c b/src/gen9_vdenc.c
> index 75268bb..01ccdca 100644
> --- a/src/gen9_vdenc.c
> +++ b/src/gen9_vdenc.c
> @@ -778,7 +778,7 @@ const int vdenc_hme_cost[8][52] = {
> OUT_BCS_BATCH(batch, attr); \
> } while (0)
>
> -#define ALLOC_VDENC_BUFFER_RESOURCE(buffer, bfsize, des) { \
> +#define ALLOC_VDENC_BUFFER_RESOURCE(buffer, bfsize, des) do { \
> buffer.type = I965_GPE_RESOURCE_BUFFER; \
> buffer.width = bfsize; \
> buffer.height = 1; \
More information about the Libva
mailing list