swscale/x86/rgb2rgb_template: Fix planar2x() for short width
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 17 Jan 2016 11:33:50 +0000 (12:33 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 30 Jan 2016 23:23:45 +0000 (00:23 +0100)
commitedc7ef376bbea64441d3756dcb7301c646dead20
tree0937fb7d1deaebcaa1e7b8bde35da1e0205cbed3
parent1a88eef93bd1a175465d61d162d42e4921549ba2
swscale/x86/rgb2rgb_template: Fix planar2x() for short width

Fixes: 451b3e0cf956c0bd2f27ed753ac24050/asan_heap-oob_2873c01_3231_7ed10a9464d15f0d57277f5917c566a8.AVI

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

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