summaryrefslogtreecommitdiffstats
path: root/libavcodec/audio_frame_queue.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2024-02-18 00:38:34 +0100
committerAndreas Rheinhardt <[email protected]>2024-02-22 01:45:31 +0100
commitabea3749b32f3a25c271b80c0a673ffcf00b9636 (patch)
tree6471c7d621f6ee3efa40b083cd76581505bf3e87 /libavcodec/audio_frame_queue.c
parent686af4578c1ed8e3ddc88f1ce27d9c1e75452fd3 (diff)
avcodec/webvttenc: Don't copy data around unnecessarily
Using av_bprint_init_for_buffer() avoids copying data into the internal AVBPrint buffer (or worse: to allocate a temporary buffer in case the internal buffer does not suffice). It also ensures that the data is always 0-terminated. Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavcodec/audio_frame_queue.c')
0 files changed, 0 insertions, 0 deletions