]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/exr: remove pointless initialization
authorPaul B Mahol <onemda@gmail.com>
Thu, 10 Oct 2013 09:54:48 +0000 (09:54 +0000)
committerPaul B Mahol <onemda@gmail.com>
Thu, 10 Oct 2013 18:24:49 +0000 (18:24 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/exr.c

index 499886c5975bd9274c2da2dcc0fdf3a6a36b4cb5..021d5a438c0d6b6b856f7d83b8985faea03b135f 100644 (file)
@@ -523,7 +523,7 @@ static int decode_frame(AVCodecContext *avctx,
             channel_list_end = buf + variable_buffer_data_size;
             while (channel_list_end - buf >= 19) {
                 EXRChannel *channel;
-                int current_pixel_type = -1;
+                enum ExrPixelType current_pixel_type;
                 int channel_index = -1;
                 int xsub, ysub;