[vlc-devel] [PATCH 00/12] Reduce VLAs usages
Romain Vimont
rom1v at videolabs.io
Tue Dec 8 15:46:31 CET 2020
Patchset LGTM.
On Tue, Dec 08, 2020 at 03:19:04PM +0100, Hugo Beauzée-Luyssen wrote:
> Since C11, Variable Length Arrays are an optional feature.
> This patchset aims at reducing their usage in order to support compilers
> that choose not to implement it
>
> Hugo Beauzée-Luyssen (12):
> config: chain: Don't use VLA
> actions: Avoid VLA
> input: stream: Avoid VLA
> filter_chain: Avoid VLA
> misc: message: Remove VLA usage
> picture_pool: Don't use VLAs
> http_auth: Remove VLA usages
> input: subtitles: Remove use of VLA
> network: io: Remove VLA usages
> preparser: art: Use strdup instead of a VLA
> config: file: Don't use VLAs
> lib: core: Don't use VLAs
>
> lib/core.c | 6 +++++-
> src/config/chain.c | 25 ++++++++++++++++++-------
> src/config/file.c | 10 ++++++++--
> src/input/stream.c | 4 ++--
> src/input/subtitles.c | 22 +++++++++++++++++++---
> src/misc/actions.c | 6 ++++--
> src/misc/filter_chain.c | 6 ++++--
> src/misc/messages.c | 6 +++++-
> src/misc/picture_pool.c | 12 ++++++++++--
> src/network/http_auth.c | 34 ++++++++++++++++++----------------
> src/network/io.c | 7 ++++++-
> src/preparser/art.c | 6 ++++--
> 12 files changed, 103 insertions(+), 41 deletions(-)
>
> --
> 2.29.2
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list