diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-04-06 11:17:23 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-06 21:07:53 +0200 |
commit | bd128e9bff8aaec97ce7dcd414717c214536c7d9 (patch) | |
tree | 490486ff8702c566a32393e0cb28730f22d77c30 /libavcodec | |
parent | cbb7183498888ef816f2c40d7d88a497013a55bf (diff) | |
download | ffmpeg-bd128e9bff8aaec97ce7dcd414717c214536c7d9.tar.gz |
exr: fix mixed declaration and statements.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/exr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 3473280a3c..a37bebf27a 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -158,7 +158,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *const p = &s->picture; uint8_t *ptr; - int x, y, stride, magic_number, version_flag; + int i, x, y, stride, magic_number, version_flag; int w = 0; int h = 0; unsigned int xmin = ~0; @@ -329,7 +329,7 @@ static int decode_frame(AVCodecContext *avctx, } // Process unknown variables - for (int i = 0; i < 2; i++) { + for (i = 0; i < 2; i++) { // Skip variable name/type while (++buf < buf_end) if (buf[0] == 0x0) |