[FFmpeg-cvslog] avcodec/lossless_videodsp: fix diff_int16_c on MIPS
Michael Niedermayer
git at videolan.org
Tue Jan 21 03:27:23 CET 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jan 21 03:20:11 2014 +0100| [3715f9e2c68ba316e49d8e1ac1c663b2ab999ad3] | committer: Michael Niedermayer
avcodec/lossless_videodsp: fix diff_int16_c on MIPS
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3715f9e2c68ba316e49d8e1ac1c663b2ab999ad3
---
libavcodec/lossless_videodsp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/lossless_videodsp.c b/libavcodec/lossless_videodsp.c
index 72eeb26..197f63e 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;
More information about the ffmpeg-cvslog
mailing list