[FFmpeg-devel] [PATCH 00/12] variable-length array cleanup

Mans Rullgard mans
Wed Jun 23 19:26:38 CEST 2010


This is a first attempt to get rid of some of the evil variable-length
arrays which plague our beautiful code.  This is not complete, and
some of these may be possible to do better.

Please comment.

 ffplay.c                      |   15 +++++++++----
 libavcodec/aacenc.c           |    4 ++-
 libavcodec/alsdec.c           |    4 +-
 libavcodec/error_resilience.c |    8 ++++--
 libavcodec/flacenc.c          |    2 +-
 libavcodec/lpc.c              |    4 ++-
 libavcodec/lsp.c              |    6 ++--
 libavcodec/lsp.h              |    1 +
 libavcodec/mdct.c             |    5 +--
 libavcodec/pcx.c              |   18 ++++++++++------
 libavcodec/ratecontrol.c      |    7 ++++-
 libavcodec/resample2.c        |    6 ++++-
 libavcodec/shorten.c          |   18 ++++++++++++++++-
 libavcodec/snow.c             |    7 ++---
 libavcodec/vorbis_dec.c       |   43 ++++++++++++++++++++++++++++++----------
 libavformat/asfdec.c          |   10 +++++++-
 16 files changed, 111 insertions(+), 47 deletions(-)




More information about the ffmpeg-devel mailing list