Browse Source

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

Fix a segfault on 64-bits archs.
tags/n1.2
Nicolas George 13 years ago
parent
commit
bf63a474ca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/exr.c

+ 1
- 1
libavcodec/exr.c View File

@@ -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;


Loading…
Cancel
Save