Skip to content
Snippets Groups Projects
Commit 3b4feac1 authored by Andrey Semashev's avatar Andrey Semashev Committed by Martin Storsjö
Browse files

movenc: Keep track of the allocated size for the cluster array


When writing fragmented mp4, the cluster array is reset when a
fragment is written. Instead of starting off reallocating the
array only based on the number of current elements in it, keep
track of how many elements there were allocated earlier.

This avoids reallocating this array needlessly when writing
fragmented mp4 files.

Bug-Id: 525
Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent fc962d4e
No related branches found
No related tags found
No related merge requests found
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