[FFmpeg-cvslog] exr: make channel_offsets int instead of int8_t
Paul B Mahol
git at videolan.org
Sun Jul 15 04:54:12 CEST 2012
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Jul 14 22:12:12 2012 +0000| [2c31ed33306c9e78caa679508757b1c5698be4ad] | committer: Paul B Mahol
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 at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2c31ed33306c9e78caa679508757b1c5698be4ad
---
libavcodec/exr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index 62ffdea..52e8916 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;
More information about the ffmpeg-cvslog
mailing list