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>
Sun, 17 Jan 2016 11:34:34 +0000 (12:34 +0100)
commitc8a9aaab2695e0f9921db946a3b9f14bea880167
treeed76f51d376a3827810db077093af32bb5af5e5e
parenta6dc1eb8376c59511845e8c2c92c5bd0a7e31b72
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>
libswscale/x86/rgb2rgb_template.c