]> git.sesse.net Git - ffmpeg/commitdiff
jpeg2000dec: remove unneeded returns
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 28 May 2013 19:36:40 +0000 (21:36 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 28 May 2013 20:16:14 +0000 (22:16 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/jpeg2000dec.c

index 3b0bf65ca908591c602627dcd39c304e678cadcb..da446f158bd933c08f355d315da2f20e89ad4bbe 100644 (file)
@@ -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.