summaryrefslogtreecommitdiff
path: root/libavformat/microdvdenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-16 01:38:41 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-19 12:03:34 +0100
commitd328467dd3007116dcc41aba7af0f560a022b456 (patch)
treebe1bc2081b1492f24a317f40ff7b154043f81b0b /libavformat/microdvdenc.c
parentb177fca06b98f5ca2a2a9f178b49256b32e243e7 (diff)
avformat/matroskaenc: Avoid temporary buffers when reformatting H.2645
Do this by using the new NALUList API. This avoids an allocation of a dynamic buffer per packet as well as the (re)allocation of the actual buffer as well as copying the data around. This improves performance: The time for one call to write_packet decreased from 703501 to 357900 decicyles when remuxing a 5min 14000 kb/s H.264 transport stream. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/microdvdenc.c')
0 files changed, 0 insertions, 0 deletions