swscale/x86/rgb2rgb_template: handle the first 2 lines with C in rgb24toyv12_*()
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 19 Nov 2014 23:43:45 +0000 (00:43 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 6 Jan 2015 17:25:50 +0000 (18:25 +0100)
commitdca70c59317869a8ff699fcb9bd17f9c184e4903
treefce0b42aa1d5af037348159fde267d3e7279a0e0
parent17ff5d3f882672c039ca9c6dbc91b322f1a773bf
swscale/x86/rgb2rgb_template: handle the first 2 lines with C in rgb24toyv12_*()

This avoids out of array accesses
Should fix Ticket3451

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 4388e78a0f022c8572996f9ab568a39b5f716f9d)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswscale/x86/rgb2rgb_template.c