swscale: prevent invalid writes in packed_16bpc_bswap
authorJanne Grunau <janne-libav@jannau.net>
Mon, 26 Dec 2011 12:38:39 +0000 (13:38 +0100)
committerJanne Grunau <janne-libav@jannau.net>
Mon, 26 Dec 2011 14:50:17 +0000 (15:50 +0100)
commit6e9bb5aa3ed0b56c484ba96bf1bb3bdd8a9741f3
tree7c305c4f845b4c7cc03a94d6818399b384903073
parent80dc7c0160fb27e46fc0caae8af10b3d63730c7c
swscale: prevent invalid writes in packed_16bpc_bswap

Writes past the end of the destination buffer were occuring when its
stride was smaller than the stride of the source. Fixes Bug #183.
libswscale/swscale_unscaled.c