aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-04-17 18:28:59 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-04-17 18:28:59 +0000
commitf371abe4a80ef33b105a676b625066b7087680d0 (patch)
tree15cef1e2b0236a85c57a08d6f5cfef8f84d32c37
parent59bd7f23e8ff7dcef8ba5f38e962ffdf7d9555e2 (diff)
downloadffmpeg-f371abe4a80ef33b105a676b625066b7087680d0.tar.gz
Remove useless assignments, at least one found by CSA.
Originally committed as revision 18585 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/h264pred.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/h264pred.c b/libavcodec/h264pred.c
index 89ed972b98..23db23f09a 100644
--- a/libavcodec/h264pred.c
+++ b/libavcodec/h264pred.c
@@ -995,7 +995,7 @@ static void pred4x4_vertical_add_c(uint8_t *pix, const DCTELEM *block, int strid
pix[1*stride]= v += block[0];
pix[2*stride]= v += block[4];
pix[3*stride]= v += block[8];
- pix[4*stride]= v += block[12];
+ pix[4*stride]= v + block[12];
pix++;
block++;
}
@@ -1008,7 +1008,7 @@ static void pred4x4_horizontal_add_c(uint8_t *pix, const DCTELEM *block, int str
pix[0]= v += block[0];
pix[1]= v += block[1];
pix[2]= v += block[2];
- pix[3]= v += block[3];
+ pix[3]= v + block[3];
pix+= stride;
block+= 4;
}
@@ -1026,7 +1026,7 @@ static void pred8x8l_vertical_add_c(uint8_t *pix, const DCTELEM *block, int stri
pix[5*stride]= v += block[32];
pix[6*stride]= v += block[40];
pix[7*stride]= v += block[48];
- pix[8*stride]= v += block[56];
+ pix[8*stride]= v + block[56];
pix++;
block++;
}
@@ -1043,7 +1043,7 @@ static void pred8x8l_horizontal_add_c(uint8_t *pix, const DCTELEM *block, int st
pix[4]= v += block[4];
pix[5]= v += block[5];
pix[6]= v += block[6];
- pix[7]= v += block[7];
+ pix[7]= v + block[7];
pix+= stride;
block+= 8;
}