diff options
author | Dominique Leuenberger <dominique@leuenberger.net> | 2011-11-12 20:35:33 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-12 21:00:12 +0100 |
commit | 8a25d0a86099a2ee5e3ff6b358bc2c0672960af7 (patch) | |
tree | 072d70e4f0191c8695d5b9863812c6e039962613 | |
parent | 6024bdb21a5bc5d356da408694c358f7ef9c38a4 (diff) | |
download | ffmpeg-8a25d0a86099a2ee5e3ff6b358bc2c0672960af7.tar.gz |
Trivial: j2kenc: fix compiler warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/j2kenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c index 50b2b2137a..58789c9a86 100644 --- a/libavcodec/j2kenc.c +++ b/libavcodec/j2kenc.c @@ -869,7 +869,8 @@ static int encode_tile(J2kEncoderContext *s, J2kTile *tile, int tileno) int *ptr = t1.data[y-yy0]; 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 = (int64_t)*ptr * (int64_t)(8192 * 8192 / band->stepsize) >> 13 - NMSEDEC_FRACBITS; + *ptr++; } } } |