diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2013-02-27 20:53:35 +0400 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2013-02-28 22:13:58 +0400 |
commit | bf63a474cabb6e4114bd3f87272276017e07f775 (patch) | |
tree | d4f3259d4d0c0e8fef9daa09030c8aac2828676b /libavcodec/exr.c | |
parent | c4735eef033e7638fa103f2dd292898945f7f24f (diff) |
lavc/exr: use size_t instead of int for sizes.
Fix a segfault on 64-bits archs.
Diffstat (limited to 'libavcodec/exr.c')
-rw-r--r-- | libavcodec/exr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 7e9e68c17b..2850790a0d 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -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; |