swscale/swscale_unscaled: Fix odd height inputs for bayer_to_yv12_wrapper()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 16 Jan 2016 23:55:44 +0000 (00:55 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 30 Jan 2016 23:23:45 +0000 (00:23 +0100)
commit1a88eef93bd1a175465d61d162d42e4921549ba2
treeccf2cee929493b8d9b509708d94cffc2bebb5f17
parentd3cefc271daa9b5829b14469b63fac8359241c3d
swscale/swscale_unscaled: Fix odd height inputs for bayer_to_yv12_wrapper()

Fixes: 372d2df1f04b49e25f109f07f90b1505/asan_heap-oob_2835d2e_8501_99e0114d7ba3a6db885d0b4684d200c1.cine
Fixes out of array read

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 757248ea3cd917a7755cb15f817a9b1f15578718)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libswscale/swscale_unscaled.c