swscale/x86/rgb2rgb_template: Do not crash on misaligend stride
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 15 Dec 2015 01:06:04 +0000 (02:06 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 15 Dec 2015 10:20:16 +0000 (11:20 +0100)
commitbfebe3defed4336de69964b693521abc8d1f43c5
treef633de462d22cb22f3dc9380bb82d6520131c448
parent5e4ec87720a64cd969120af60e82cbd55454ab8e
swscale/x86/rgb2rgb_template: Do not crash on misaligend stride

Fixes Ticket5013

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 80bfce35ccd11458e97f68f417fc094c5347070c)
libswscale/x86/rgb2rgb_template.c