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>
Thu, 28 Jan 2016 14:53:53 +0000 (15:53 +0100)
commitf121ed611ef3141995605eb48714478d9d8af908
tree57d73740265beba7e3e3a91529e7a2dbf09c1e0a
parent6eb76b34ca24deabc42b17d2f8fb8b407d20942f
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