[Libva] [PATCH] Missing 'do' in "do ...while" in macro ALLOC_VDENC_BUFFER_RESOURCE
Zhao Yakui
yakui.zhao at intel.com
Wed Jul 27 01:20:52 UTC 2016
On 07/26/2016 04:54 PM, Lim Siew Hoon wrote:
> Signed-off-by: Lim Siew Hoon<siew.hoon.lim at intel.com>
Good catch.
This looks good to me.
Add: Reviewed-by: Zhao Yakui <yakui.zhao at intel.com>
Thanks
Yakui
> ---
> 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..e19def1 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