[FFmpeg-cvslog] jpeg2000: Remove unneeded variable initialization
Michael Niedermayer
git at videolan.org
Wed Jul 3 15:42:59 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jul 1 10:01:23 2013 +0200| [690c8af97bb1c9a57d5d233a5ef76409ff9b15b2] | committer: Luca Barbato
jpeg2000: Remove unneeded variable initialization
Signed-off-by: Luca Barbato <lu_zero at gentoo.org>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=690c8af97bb1c9a57d5d233a5ef76409ff9b15b2
---
libavcodec/jpeg2000.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/jpeg2000.c b/libavcodec/jpeg2000.c
index 73d2a38..4a16d58 100644
--- a/libavcodec/jpeg2000.c
+++ b/libavcodec/jpeg2000.c
@@ -202,7 +202,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 (!codsty->nreslevels2decode) {
av_log(avctx, AV_LOG_ERROR, "nreslevels2decode uninitialized\n");
More information about the ffmpeg-cvslog
mailing list