aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-15 03:18:08 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-15 03:18:08 +0200
commit151469db3379bf47db48a14d83704fd07631e4fe (patch)
tree3dddab62390c3287ff1e940befd970c45d84f4c9 /libavcodec
parent1b8f4d773c4d3bfcff9cdbc26200afbbaa445bc3 (diff)
downloadffmpeg-151469db3379bf47db48a14d83704fd07631e4fe.tar.gz
j2kenc: remove unneeded dereference
Fixes CID703723 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/j2kenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c
index 0c15fb0bf9..c1a4981230 100644
--- a/libavcodec/j2kenc.c
+++ b/libavcodec/j2kenc.c
@@ -871,7 +871,7 @@ static int encode_tile(J2kEncoderContext *s, J2kTile *tile, int tileno)
for (x = xx0; x < xx1; x++){
*ptr = (comp->data[(comp->coord[0][1] - comp->coord[0][0]) * y + x]);
*ptr = (int64_t)*ptr * (int64_t)(8192 * 8192 / band->stepsize) >> 13 - NMSEDEC_FRACBITS;
- *ptr++;
+ ptr++;
}
}
}