[FFmpeg-cvslog] avcodec/exr: remove pointless initialization

Paul B Mahol git at videolan.org
Thu Oct 10 20:30:06 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Oct 10 09:54:48 2013 +0000| [996c73490c29ed7502154ded70b24d9b6d228e2a] | committer: Paul B Mahol

avcodec/exr: remove pointless initialization

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=996c73490c29ed7502154ded70b24d9b6d228e2a
---

 libavcodec/exr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 



More information about the ffmpeg-cvslog mailing list