[FFmpeg-devel] [PATCH 0/3] Replace some VLAs with heap allocs
Derek Buitenhuis
derek.buitenhuis at gmail.com
Fri Sep 7 16:38:14 CEST 2012
Some compilers (MSVC, maybe suncc?) dislike VLAs, and they
are generally considered bad coding practice anyway. Some
code may even get a very slight speed boost.
Derek Buitenhuis (3):
flashsv2enc: Replace a VLA with a heap alloc
proresdec2: Replace a VLA with a heap alloc
random_seed: Replace a VLA with a heap alloc
libavcodec/flashsv2enc.c | 25 ++++++++++++++++++++-----
libavcodec/proresdec2.c | 19 +++++++++++++++----
libavutil/random_seed.c | 13 +++++++++++--
3 files changed, 46 insertions(+), 11 deletions(-)
--
1.7.9.5
More information about the ffmpeg-devel
mailing list