aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/exr.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-07-14 22:12:12 +0000
committerPaul B Mahol <onemda@gmail.com>2012-07-15 02:53:51 +0000
commit2c31ed33306c9e78caa679508757b1c5698be4ad (patch)
tree258ed5834ceadc5616ab28b45c588bc1298c36b0 /libavcodec/exr.c
parent1463bd902a44ad3f12f77e1876b91d79ff31d952 (diff)
downloadffmpeg-2c31ed33306c9e78caa679508757b1c5698be4ad.tar.gz
exr: make channel_offsets int instead of int8_t
Prior to this change max number of channels for float data which was going to be correctly decoded was 32, which is rather small considering that exr allows multiple channel layers. Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/exr.c')
-rw-r--r--libavcodec/exr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index 62ffdeaaa7..52e8916796 100644
--- a/libavcodec/exr.c
+++ b/libavcodec/exr.c
@@ -52,7 +52,7 @@ typedef struct EXRContext {
AVFrame picture;
int compr;
int bits_per_color_id;
- int8_t channel_offsets[4]; // 0 = red, 1 = green, 2 = blue and 3 = alpha
+ int channel_offsets[4]; // 0 = red, 1 = green, 2 = blue and 3 = alpha
uint8_t *uncompressed_data;
int uncompressed_size;