[FFmpeg-cvslog] j2kenc: remove unneeded dereference
Michael Niedermayer
git at videolan.org
Mon Oct 15 03:57:39 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Oct 15 03:18:08 2012 +0200| [151469db3379bf47db48a14d83704fd07631e4fe] | committer: Michael Niedermayer
j2kenc: remove unneeded dereference
Fixes CID703723
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=151469db3379bf47db48a14d83704fd07631e4fe
---
libavcodec/j2kenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c
index 0c15fb0..c1a4981 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++;
}
}
}
More information about the ffmpeg-cvslog
mailing list