[FFmpeg-cvslog] jpeg2000: remove unneeded variable initialization

Michael Niedermayer git at videolan.org
Thu May 30 15:04:15 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu May 30 14:32:45 2013 +0200| [efc2df2e27cc00e241b54292b0080af7245552ce] | committer: Michael Niedermayer

jpeg2000: remove unneeded variable initialization

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

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

 libavcodec/jpeg2000.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/jpeg2000.c b/libavcodec/jpeg2000.c
index e1a0b96..da74184 100644
--- a/libavcodec/jpeg2000.c
+++ b/libavcodec/jpeg2000.c
@@ -188,7 +188,7 @@ int ff_jpeg2000_init_component(Jpeg2000Component *comp,
 {
     uint8_t log2_band_prec_width, log2_band_prec_height;
     int reslevelno, bandno, gbandno = 0, ret, i, j;
-    uint32_t csize = 1;
+    uint32_t csize;
 
     if (ret = ff_jpeg2000_dwt_init(&comp->dwt, comp->coord,
                                    codsty->nreslevels2decode - 1,



More information about the ffmpeg-cvslog mailing list