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:24:51 +0000 (00:24 +0100)
commit9631209eeaf035e5394a759542371875f837d0db
tree245a5b4fc72fddaab298dafd07376fae17342d1a
parent93c675d6a6c98e94ddce1a4b04bc1507f562249f
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