diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-21 03:20:11 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-21 03:20:39 +0100 |
commit | 3715f9e2c68ba316e49d8e1ac1c663b2ab999ad3 (patch) | |
tree | 9c8cb610266bc9b9e3e652d8fd9bf4976ac36dc4 /libavcodec/lossless_videodsp.c | |
parent | 83b67ca056093d3b8fffc5e0b37f84177113a556 (diff) | |
download | ffmpeg-3715f9e2c68ba316e49d8e1ac1c663b2ab999ad3.tar.gz |
avcodec/lossless_videodsp: fix diff_int16_c on MIPS
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/lossless_videodsp.c')
-rw-r--r-- | libavcodec/lossless_videodsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lossless_videodsp.c b/libavcodec/lossless_videodsp.c index 72eeb269ae..197f63e066 100644 --- a/libavcodec/lossless_videodsp.c +++ b/libavcodec/lossless_videodsp.c @@ -38,7 +38,7 @@ static void diff_int16_c(uint16_t *dst, const uint16_t *src1, const uint16_t *sr long i; #if !HAVE_FAST_UNALIGNED if((long)src2 & (sizeof(long)-1)){ - for(i=0; i+7<w; i+=8){ + for(i=0; i+3<w; i+=4){ dst[i+0] = (src1[i+0]-src2[i+0]) & mask; dst[i+1] = (src1[i+1]-src2[i+1]) & mask; dst[i+2] = (src1[i+2]-src2[i+2]) & mask; |