OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b8f4d7
)
j2kenc: remove unneeded dereference
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 15 Oct 2012 01:18:08 +0000
(
03:18
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 15 Oct 2012 01:18:08 +0000
(
03:18
+0200)
Fixes CID703723
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/j2kenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/j2kenc.c
b/libavcodec/j2kenc.c
index
0c15fb0
..
c1a4981
100644
(file)
--- 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++;
}
}
}