Skip to content
Snippets Groups Projects
Commit 93e7ef9a authored by Mans Rullgard's avatar Mans Rullgard
Browse files

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: default avatarMans Rullgard <mans@mansr.com>
parent 0da301e1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment