summaryrefslogtreecommitdiff
path: root/codec/convert.c
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2010-06-22 17:32:19 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2010-06-22 17:32:19 +0000
commitda0d29e4ab5b828300e549ad21d8d30476047197 (patch)
tree6e65f3a6fede7c78247cc6a7e37eb1dd92cd66fd /codec/convert.c
parentf30f4c744e4242898c77962bbf691a43728ad421 (diff)
Merge with v2 branch
Diffstat (limited to 'codec/convert.c')
-rw-r--r--codec/convert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/codec/convert.c b/codec/convert.c
index 631cae05..52aa2310 100644
--- a/codec/convert.c
+++ b/codec/convert.c
@@ -2121,7 +2121,7 @@ int imagetoraw(opj_image_t * image, const char *outfile)
for (line = 0; line < h; line++) {
for(row = 0; row < w; row++) {
unsigned char temp;
- curr = (signed short int) (*ptr & mask);
+ curr = (signed short int) (*ptr & mask);
temp = (unsigned char) (curr >> 8);
fwrite(&temp, 1, 1, rawFile);
temp = (unsigned char) curr;
@@ -2138,7 +2138,7 @@ int imagetoraw(opj_image_t * image, const char *outfile)
for (line = 0; line < h; line++) {
for(row = 0; row < w; row++) {
unsigned char temp;
- curr = (unsigned short int) (*ptr & mask);
+ curr = (unsigned short int) (*ptr & mask);
temp = (unsigned char) (curr >> 8);
fwrite(&temp, 1, 1, rawFile);
temp = (unsigned char) curr;