OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4735ee
)
lavc/exr: use size_t instead of int for sizes.
author
Nicolas George
<nicolas.george@normalesup.org>
Wed, 27 Feb 2013 16:53:35 +0000
(17:53 +0100)
committer
Nicolas George
<nicolas.george@normalesup.org>
Thu, 28 Feb 2013 18:13:58 +0000
(19:13 +0100)
Fix a segfault on 64-bits archs.
libavcodec/exr.c
patch
|
blob
|
history
diff --git
a/libavcodec/exr.c
b/libavcodec/exr.c
index
7e9e68c
..
2850790
100644
(file)
--- 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) {
-
in
t thread_data_size, prev_size;
+
size_
t thread_data_size, prev_size;
EXRThreadData *m;
prev_size = s->thread_data_size;