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:22:18 +0000 (11:22 +0100)
commitf23efdd2401d452dcfcc004086283ebdc36cf7c6
tree6d18e700b061cf096e2167be745cc415046c596b
parent2789b48b4ef5b6548eaffeb9b532b2d8f4729db5
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