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 <bchoobineh@google.com>
diff --git a/encode/av1encode.c b/encode/av1encode.c index c4643f0..4c668dc 100644 --- a/encode/av1encode.c +++ b/encode/av1encode.c
@@ -900,7 +900,7 @@ 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];