webvtt: use heap buffers instead of vlc_memstream
- Nov 27, 2023
-
-
Steve Lhomme authored
vlc_memstream will do successive allocations and may fail after we're doing trying to copy everything. It also adds an extra \0 after each call.
e621b182 -
Steve Lhomme authored
No need to increment the buffer chunk by chunk when we know the full size. vlc_memstream also adds an extra \0 after each call for nothing.
0b786c4e
-