videodsp: fix 1-byte overread in top/bottom READ_NUM_BYTES iterations.
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 16 Jan 2016 19:44:28 +0000 (14:44 -0500)
committerRonald S. Bultje <rsbultje@gmail.com>
Mon, 18 Jan 2016 16:12:47 +0000 (11:12 -0500)
commit0f88b3f82fafd536979993aeaafcb11a22266dbd
tree22eb634e98b3fe99dd3c5de65f0d8960901aa24e
parent5da1477fa01b8f5eb9804435f26e76ba423624e9
videodsp: fix 1-byte overread in top/bottom READ_NUM_BYTES iterations.

This can overread (either before start or beyond end) of the buffer in
Nx1 (i.e. height=1) images.

Fixes mozilla bug 1240080.
libavcodec/x86/videodsp.asm