Commit bf63a474 authored by Nicolas George's avatar Nicolas George

lavc/exr: use size_t instead of int for sizes.

Fix a segfault on 64-bits archs.
parent c4735eef
......@@ -655,7 +655,7 @@ static int decode_frame(AVCodecContext *avctx,
scan_line_blocks = (s->ydelta + s->scan_lines_per_block - 1) / s->scan_lines_per_block;
if (s->compr != EXR_RAW) {
int thread_data_size, prev_size;
size_t thread_data_size, prev_size;
EXRThreadData *m;
prev_size = s->thread_data_size;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment