Fix bugs in the AltiVec fancy upsampling routines uncovered during additional testing with small image sizes.  Since the input width is half the output width, the upsampler should only write a second 16-byte chuck if there are more than 8 input columns left.  Additionally, if the width is < 16, then we need to insert a dummy sample (the SSE2 code does this as well, but I neglected to port that portion of the code for some reason.)


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1501 632fc199-4ca6-4c93-a231-07263d6284db
1 file changed