swscale/swscale_unscaled: Fix odd height inputs for bayer_to_rgb24_wrapper()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 16 Jan 2016 23:55:44 +0000 (00:55 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 28 Jan 2016 14:53:53 +0000 (15:53 +0100)
commit034edcec6d83557128f7947c109f0f8981a477fc
treef82f3b085fd1e8992e4f297bee5cc59ad30a6332
parent8008a029ab40db3353611548f1a4a15452b81434
swscale/swscale_unscaled: Fix odd height inputs for bayer_to_rgb24_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 ad3b6fa7d83db7de951ed891649af93a47e74be5)

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