From 4606bf3b574609e452ea9729a995c9fa6f4bf0be Mon Sep 17 00:00:00 2001 From: Bijan Choobineh Date: Tue, 10 Nov 2026 17:43:20 +0000 Subject: [PATCH] av1encode: Remove unnecessary parentheses in init_va logic Prior to this change, building with -Wall -Werror resulted in build failures due to redundant parentheses in init_va. This change updates the logic to remove the redundant parentheses from the init_va logic. Signed-off-by: Bijan Choobineh --- encode/av1encode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encode/av1encode.c b/encode/av1encode.c index c4643f04..4c668dc9 100644 --- a/encode/av1encode.c +++ b/encode/av1encode.c @@ -900,7 +900,7 @@ static int init_va(void) entryPoint = entrypoints[slice_entrypoint]; break; } - } else if ((entrypoints[slice_entrypoint] == requested_entrypoint)) { + } else if (entrypoints[slice_entrypoint] == requested_entrypoint) { //Select the entry point based on what was requested in cmd line option support_encode = 1; entryPoint = entrypoints[slice_entrypoint];