aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol2013-10-10 09:54:48 +0000
committerPaul B Mahol2013-10-10 18:24:49 +0000
commit996c73490c29ed7502154ded70b24d9b6d228e2a (patch)
treebbc5de40650e46e7576259b0eb11e9e161b85b4a
parent2d52834910a4a043d150fc3fce9a06372d5aa108 (diff)
avcodec/exr: remove pointless initialization
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavcodec/exr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index 499886c597..021d5a438c 100644
--- a/libavcodec/exr.c
+++ b/libavcodec/exr.c
@@ -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;