summaryrefslogtreecommitdiffstats
path: root/media/libvpx/bug1137614.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /media/libvpx/bug1137614.patch
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'media/libvpx/bug1137614.patch')
-rw-r--r--media/libvpx/bug1137614.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/media/libvpx/bug1137614.patch b/media/libvpx/bug1137614.patch
new file mode 100644
index 0000000000..9edc797220
--- /dev/null
+++ b/media/libvpx/bug1137614.patch
@@ -0,0 +1,23 @@
+diff --git a/vp8/encoder/block.h b/vp8/encoder/block.h
+--- a/vp8/encoder/block.h
++++ b/vp8/encoder/block.h
+@@ -87,17 +87,18 @@ typedef struct macroblock {
+ int rddiv;
+ int rdmult;
+ unsigned int *mb_activity_ptr;
+ int *mb_norm_activity_ptr;
+ signed int act_zbin_adj;
+ signed int last_act_zbin_adj;
+
+ int *mvcost[2];
+- int *mvsadcost[2];
++ /* MSVC generates code that thinks this is 16-byte aligned */
++ DECLARE_ALIGNED(16, int*, mvsadcost[2]);
+ int (*mbmode_cost)[MB_MODE_COUNT];
+ int (*intra_uv_mode_cost)[MB_MODE_COUNT];
+ int (*bmode_costs)[10][10];
+ int *inter_bmode_costs;
+ int (*token_costs)[COEF_BANDS][PREV_COEF_CONTEXTS][MAX_ENTROPY_TOKENS];
+
+ /* These define limits to motion vector components to prevent
+ * them from extending outside the UMV borders.