mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
exr: fix mixed declaration and statements.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
cbb7183498
commit
bd128e9bff
@ -158,7 +158,7 @@ static int decode_frame(AVCodecContext *avctx,
|
|||||||
AVFrame *const p = &s->picture;
|
AVFrame *const p = &s->picture;
|
||||||
uint8_t *ptr;
|
uint8_t *ptr;
|
||||||
|
|
||||||
int x, y, stride, magic_number, version_flag;
|
int i, x, y, stride, magic_number, version_flag;
|
||||||
int w = 0;
|
int w = 0;
|
||||||
int h = 0;
|
int h = 0;
|
||||||
unsigned int xmin = ~0;
|
unsigned int xmin = ~0;
|
||||||
@ -329,7 +329,7 @@ static int decode_frame(AVCodecContext *avctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Process unknown variables
|
// Process unknown variables
|
||||||
for (int i = 0; i < 2; i++) {
|
for (i = 0; i < 2; i++) {
|
||||||
// Skip variable name/type
|
// Skip variable name/type
|
||||||
while (++buf < buf_end)
|
while (++buf < buf_end)
|
||||||
if (buf[0] == 0x0)
|
if (buf[0] == 0x0)
|
||||||
|
Loading…
Reference in New Issue
Block a user