summaryrefslogtreecommitdiffstats
path: root/libavcodec/exr.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-10-10 09:54:48 +0000
committerPaul B Mahol <onemda@gmail.com>2013-10-10 18:24:49 +0000
commit996c73490c29ed7502154ded70b24d9b6d228e2a (patch)
treebbc5de40650e46e7576259b0eb11e9e161b85b4a /libavcodec/exr.c
parent2d52834910a4a043d150fc3fce9a06372d5aa108 (diff)
downloadffmpeg-streaming-996c73490c29ed7502154ded70b24d9b6d228e2a.zip
ffmpeg-streaming-996c73490c29ed7502154ded70b24d9b6d228e2a.tar.gz
avcodec/exr: remove pointless initialization
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/exr.c')
-rw-r--r--libavcodec/exr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index 499886c..021d5a4 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;
OpenPOWER on IntegriCloud