Commit 74aaa1eff1 for aom

commit 74aaa1eff111badcfd471748ed790a5a9cc8cb23
Author: Julio Barba <juliobbv@gmail.com>
Date:   Wed Mar 18 14:23:13 2026 -0400

    Frame scaling comp mask pred crash fix

    `aom_comp_mask_upsampled_pred()`: unconditionally call
    `aom_upsampled_pred()` to gracefully handle scaling.

    Change-Id: I7727f9a812cfcd48f6e215185b260cff7db177f0

diff --git a/av1/encoder/reconinter_enc.c b/av1/encoder/reconinter_enc.c
index fd751cd95e..018543880a 100644
--- a/av1/encoder/reconinter_enc.c
+++ b/av1/encoder/reconinter_enc.c
@@ -523,14 +523,9 @@ void aom_comp_mask_upsampled_pred(MACROBLOCKD *xd, const AV1_COMMON *const cm,
                                   int ref_stride, const uint8_t *mask,
                                   int mask_stride, int invert_mask,
                                   int subpel_search) {
-  if (subpel_x_q3 | subpel_y_q3) {
-    aom_upsampled_pred(xd, cm, mi_row, mi_col, mv, comp_pred, width, height,
-                       subpel_x_q3, subpel_y_q3, ref, ref_stride,
-                       subpel_search);
-    ref = comp_pred;
-    ref_stride = width;
-  }
-  aom_comp_mask_pred(comp_pred, pred, width, height, ref, ref_stride, mask,
+  aom_upsampled_pred(xd, cm, mi_row, mi_col, mv, comp_pred, width, height,
+                     subpel_x_q3, subpel_y_q3, ref, ref_stride, subpel_search);
+  aom_comp_mask_pred(comp_pred, pred, width, height, comp_pred, width, mask,
                      mask_stride, invert_mask);
 }