aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/mov-1elist-1ctts
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-05-04 12:46:45 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-05-05 19:06:18 +0200
commit2ffa8be53b5c469379cb5cfc0f33d5de516756f0 (patch)
tree7aea02daa2e2f8fbd5644bb87dfef84dab59db0b /tests/ref/fate/mov-1elist-1ctts
parent63a4cadd27c9ba9d45c2c248d2d4f699f9819ddf (diff)
downloadffmpeg-2ffa8be53b5c469379cb5cfc0f33d5de516756f0.tar.gz
avformat/nutenc: Reuse dynamic buffers when possible
NUT uses variable-length integers in order to for length fields. Therefore the NUT muxer often writes data into a dynamic buffer in order to get the length of it, then writes the length field using the fewest amount of bytes needed. To do this, a new dynamic buffer was opened, used and freed for each element which involves lots of allocations. This commit changes this: The dynamic buffers are now resetted and reused. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'tests/ref/fate/mov-1elist-1ctts')
0 files changed, 0 insertions, 0 deletions