[FFmpeg-cvslog] jpeg2000dec: remove unneeded returns

Michael Niedermayer git at videolan.org
Tue May 28 22:24:29 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue May 28 21:36:40 2013 +0200| [aa0d11ed0bdfc38f800771b1d695469ff691dd96] | committer: Michael Niedermayer

jpeg2000dec: remove unneeded returns

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aa0d11ed0bdfc38f800771b1d695469ff691dd96
---

 libavcodec/jpeg2000dec.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index 3b0bf65..da446f1 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.



More information about the ffmpeg-cvslog mailing list