aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264pred.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-04-08 17:34:38 +0300
committerMartin Storsjö <martin@martin.st>2013-04-08 21:39:15 +0300
commitbc0522dffacb9ef8f4eac8e47f73fea58c216799 (patch)
tree32025645df76588a246b9c58ccf6a4ec2ba50e9e /libavcodec/h264pred.c
parentd2ec6ea6c6c0276aaf0063c5a7290f8e11fcdb06 (diff)
downloadffmpeg-bc0522dffacb9ef8f4eac8e47f73fea58c216799.tar.gz
h264pred: Add a few missing const declarations for ff_cropTbl derived pointers
The pointers that get assigned ff_cropTbl were made const in 9e0f14f1, but other variables that transitively are assigned based on these variables were missed. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/h264pred.c')
-rw-r--r--libavcodec/h264pred.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/h264pred.c b/libavcodec/h264pred.c
index 07aa2ae04e..6825cf27c3 100644
--- a/libavcodec/h264pred.c
+++ b/libavcodec/h264pred.c
@@ -273,7 +273,7 @@ static void pred4x4_tm_vp8_c(uint8_t *src, const uint8_t *topright,
int y;
for (y = 0; y < 4; y++) {
- uint8_t *cm_in = cm + src[-1];
+ const uint8_t *cm_in = cm + src[-1];
src[0] = cm_in[top[0]];
src[1] = cm_in[top[1]];
src[2] = cm_in[top[2]];
@@ -299,7 +299,7 @@ static void pred16x16_tm_vp8_c(uint8_t *src, ptrdiff_t stride)
int y;
for (y = 0; y < 16; y++) {
- uint8_t *cm_in = cm + src[-1];
+ const uint8_t *cm_in = cm + src[-1];
src[0] = cm_in[top[0]];
src[1] = cm_in[top[1]];
src[2] = cm_in[top[2]];
@@ -381,7 +381,7 @@ static void pred8x8_tm_vp8_c(uint8_t *src, ptrdiff_t stride)
int y;
for (y = 0; y < 8; y++) {
- uint8_t *cm_in = cm + src[-1];
+ const uint8_t *cm_in = cm + src[-1];
src[0] = cm_in[top[0]];
src[1] = cm_in[top[1]];
src[2] = cm_in[top[2]];