[FFmpeg-devel] [PATCH] libavcodec: Reduce the size of some arrays

James Almer jamrial at gmail.com
Thu Jun 20 20:59:30 EEST 2019


On 6/19/2019 4:08 PM, Michael Niedermayer wrote:
> On Wed, Jun 19, 2019 at 04:39:47AM +0200, Andreas Rheinhardt wrote:
>> This commit uses smaller types for some static const arrays to reduce
>> their size in case the entries can be represented in the smaller type.
>> The biggest savings came from inv_map_table in vp9.c.
>>
>> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
>> ---
>>  libavcodec/a64multienc.c              |  6 +++---
>>  libavcodec/ac3enc.c                   |  2 +-
>>  libavcodec/adpcm.c                    |  8 ++++----
>>  libavcodec/aic.c                      |  4 ++--
>>  libavcodec/atrac3plus.c               | 12 ++++++------
>>  libavcodec/atrac3plusdsp.c            |  4 ++--
>>  libavcodec/atrac9dec.c                |  2 +-
>>  libavcodec/cbs_h264_syntax_template.c |  2 +-
>>  libavcodec/cbs_vp9_syntax_template.c  |  4 ++--
>>  libavcodec/vp9.c                      |  2 +-
>>  10 files changed, 23 insertions(+), 23 deletions(-)
> 
> should be ok
> 
> thanks

Pushed.


More information about the ffmpeg-devel mailing list