aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-28 21:36:40 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-28 22:16:14 +0200
commitaa0d11ed0bdfc38f800771b1d695469ff691dd96 (patch)
treee0bcc52b81067235ec12ea42210625e6aa64dff2
parentf7129ab928b54d369add8a17ca065e7406ce4b70 (diff)
downloadffmpeg-aa0d11ed0bdfc38f800771b1d695469ff691dd96.tar.gz
jpeg2000dec: remove unneeded returns
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/jpeg2000dec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index 3b0bf65ca9..da446f158b 100644
--- a/libavcodec/jpeg2000dec.c
+++ b/libavcodec/jpeg2000dec.c
@@ -932,7 +932,6 @@ static void dequantization_float(int x, int y, Jpeg2000Cblk *cblk,
idx = (comp->coord[0][1] - comp->coord[0][0]) * j + i;
datap[idx] = (float)(t1->data[j][i]) * ((float)band->stepsize);
}
- return;
}
/* Integer dequantization of a codeblock.*/
@@ -949,7 +948,6 @@ static void dequantization_int(int x, int y, Jpeg2000Cblk *cblk,
datap[idx] =
((int32_t)(t1->data[j][i]) * ((int32_t)band->stepsize) + (1 << 15)) >> 16;
}
- return;
}
/* Inverse ICT parameters in float and integer.