diff options
author | James Almer <jamrial@gmail.com> | 2015-06-13 13:13:10 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2015-06-13 16:53:31 -0300 |
commit | 9f815bc2c294a2582cd4c2bba71803104c3d0bc5 (patch) | |
tree | 6a8834dcd33fd820a349ab791bed340c1a858198 /libavcodec/jpeg2000.c | |
parent | 7912a6830d3a4a9e5829ba43082f677c638abf2c (diff) | |
download | ffmpeg-9f815bc2c294a2582cd4c2bba71803104c3d0bc5.tar.gz |
avcodec/jpeg200dsp: add ff_rct_int_{sse2,avx2}
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/jpeg2000.c')
-rw-r--r-- | libavcodec/jpeg2000.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/jpeg2000.c b/libavcodec/jpeg2000.c index af24e998ca..ec00ebc35a 100644 --- a/libavcodec/jpeg2000.c +++ b/libavcodec/jpeg2000.c @@ -221,6 +221,7 @@ int ff_jpeg2000_init_component(Jpeg2000Component *comp, if (!comp->f_data) return AVERROR(ENOMEM); } else { + csize += FF_INPUT_BUFFER_PADDING_SIZE / sizeof(*comp->i_data); comp->f_data = NULL; comp->i_data = av_mallocz_array(csize, sizeof(*comp->i_data)); if (!comp->i_data) |