aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ulti.c
diff options
context:
space:
mode:
authorAndrey Semashev <andysem@mail.ru>2013-06-02 22:57:31 +0300
committerMartin Storsjö <martin@martin.st>2013-06-04 15:05:12 +0300
commit3b4feac1ec14f861bdd7f494f288f4d8dd7f449e (patch)
tree7eaccfd14d395c5c1c58ea3ccb98eab6f841dd63 /libavcodec/ulti.c
parentfc962d4e7a7c3d799d9364d5427564c22ee3880c (diff)
downloadffmpeg-3b4feac1ec14f861bdd7f494f288f4d8dd7f449e.tar.gz
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: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/ulti.c')
0 files changed, 0 insertions, 0 deletions