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:16:10 +0000 (11:16 +0100)
commit31aeb9653360f4c42d05bf88b94b20bdd17bdd4a
treebaf12a4b3a91f7966e0c5bdc4f0328bf29612236
parent95a144ae62b1cc724f8e9cbcfbb6e9195599a37f
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