Message ID | 20220531124104.56189-1-rsbultje@gmail.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel] vp9: don't overread by 4 pixels in ff_vp9_avg4_mmxext(). | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
andriy/make_armv7_RPi4 | success | Make finished |
andriy/make_fate_armv7_RPi4 | success | Make fate finished |
diff --git a/libavcodec/x86/vp9mc.asm b/libavcodec/x86/vp9mc.asm index f64161b2c2..f8b244b2fe 100644 --- a/libavcodec/x86/vp9mc.asm +++ b/libavcodec/x86/vp9mc.asm @@ -604,12 +604,15 @@ cglobal vp9_%1%2 %+ %%szsuf, 5, 5, %8, dst, dstride, src, sstride, h %%pavg m0, [dstq] %%pavg m1, [dstq+d%3] %%pavg m2, [dstq+d%4] - %%pavg m3, [dstq+d%5] %if %2/mmsize == 8 + %%pavg m3, [dstq+d%5] %%pavg m4, [dstq+mmsize*4] %%pavg m5, [dstq+mmsize*5] %%pavg m6, [dstq+mmsize*6] %%pavg m7, [dstq+mmsize*7] +%else + %%srcfn m4, [dstq+d%5] + %%pavg m3, m4 %endif %endif %%dstfn [dstq], m0