movenc: Grow the frag_info array in chunks
authorAndrey Semashev <andysem@mail.ru>
Sun, 2 Jun 2013 20:26:18 +0000 (23:26 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 4 Jun 2013 12:05:42 +0000 (15:05 +0300)
commit7c020e1ad37d27c9d5db4d714401f09c80e3cc44
tree2eaae6e250a77d977a0e5f299883de4d6893c342
parentab1189766a82a95f108005463cde75f73fcc0ae5
movenc: Grow the frag_info array in chunks

Previously it was grown one element at a time, which leads to
excessive reallocations.

Bug-Id: 525
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/movenc.c
libavformat/movenc.h