aom: Add return stmt after av1_resize_horz_dir_c() call

From c66c41d99c9c3717dbe16c2285b743e66e04095e Mon Sep 17 00:00:00 2001
From: Wan-Teh Chang <[EMAIL REDACTED]>
Date: Thu, 16 May 2024 15:47:53 -0700
Subject: [PATCH] Add return stmt after av1_resize_horz_dir_c() call

Otherwise we will fall through and execute code that assumes
filtered_length >= 16.

Bug: aomedia:3575
Change-Id: I88385f0d30fd6f9392b828d8bf716f7cc6f3b6b3
---
 av1/common/x86/resize_sse2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/av1/common/x86/resize_sse2.c b/av1/common/x86/resize_sse2.c
index 1afc96221..6b34cebfe 100644
--- a/av1/common/x86/resize_sse2.c
+++ b/av1/common/x86/resize_sse2.c
@@ -194,6 +194,7 @@ void av1_resize_horz_dir_sse2(const uint8_t *const input, int in_stride,
   if (filtered_length < 16) {
     av1_resize_horz_dir_c(input, in_stride, intbuf, height, filtered_length,
                           width2);
+    return;
   }
 
   __m128i coeffs_x[2];