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 499886c..021d5a4 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;