Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-10-07 02:22:00 +0300
committerJames Almer <jamrial@gmail.com>2015-10-07 02:22:00 +0300
commit72254b19b8cac227d753c715392d0e45f1712a17 (patch)
tree30391c3a2547222fb8c9a5071571c47b44ac979b /libavcodec/alac.c
parentfdb32838723effb4560a345013387ea37b85ff20 (diff)
x86/alacdsp: add simd optimized functions
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r--libavcodec/alac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 146668ec26..c47d64e38d 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -494,11 +494,11 @@ static int allocate_buffers(ALACContext *alac)
alac->direct_output = alac->sample_size > 16;
if (!alac->direct_output) {
FF_ALLOC_OR_GOTO(alac->avctx, alac->output_samples_buffer[ch],
- buf_size, buf_alloc_fail);
+ buf_size + AV_INPUT_BUFFER_PADDING_SIZE, buf_alloc_fail);
}
FF_ALLOC_OR_GOTO(alac->avctx, alac->extra_bits_buffer[ch],
- buf_size, buf_alloc_fail);
+ buf_size + AV_INPUT_BUFFER_PADDING_SIZE, buf_alloc_fail);
}
return 0;
buf_alloc_fail: