aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/flac.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-07-02 23:16:30 +0100
committerMans Rullgard <mans@mansr.com>2012-07-04 03:30:01 +0100
commit93e7ef9a2472d64d550ba1cf0e7a6f206fbc8dfd (patch)
tree5abea3cd46e054d0bf1dcff20a7944322319917c /libavcodec/flac.c
parent0da301e105daf55a0b96a44625270ec1c514d8f2 (diff)
downloadffmpeg-93e7ef9a2472d64d550ba1cf0e7a6f206fbc8dfd.tar.gz
flacdec: allocate sample buffers with av_malloc
The buffers are only allocated once, although it can happen from any of a few different places, so there is no need to use realloc. Using av_malloc() ensures they are aligned suitably for SIMD optimisations. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/flac.c')
0 files changed, 0 insertions, 0 deletions