mirror of
https://code.videolan.org/videolan/dav1d
synced 2026-06-11 04:03:05 +00:00
Fix reversed parameters when TRACK_HEAP_ALLOCATIONS is enabled
This fixes a regression from commit d268788467
This commit is contained in:
committed by
Martin Storsjö
co-authored by
Martin Storsjö
parent
a44b589872
commit
2bb7e63266
@@ -109,7 +109,7 @@ void *dav1d_malloc(const enum AllocationType type, const size_t sz) {
|
||||
void *dav1d_alloc_aligned(const enum AllocationType type,
|
||||
const size_t sz, const size_t align)
|
||||
{
|
||||
void *const ptr = dav1d_alloc_aligned_internal(align, sz + align);
|
||||
void *const ptr = dav1d_alloc_aligned_internal(sz + align, align);
|
||||
return track_alloc(type, ptr, sz, align);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user