swscale: clip unscaled output intermediates.
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 6 Mar 2012 22:35:24 +0000 (14:35 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 7 Mar 2012 17:35:46 +0000 (09:35 -0800)
commit9487fb4dea3498eb4711eb023f43199f68701b1e
treea18b1e4f9ad30b3bbd172fccf91de27fab5e11c8
parenta93b572ae4f517ce0c35cf085167c318e9215908
swscale: clip unscaled output intermediates.

Fixes bug 240, as well as several integer overflows (visible as glitches)
in other scaling output routines, e.g. YUV422.
libswscale/output.c