From b0c47487701d135c9ed1423fa367643cf03c8670 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 8 Dec 2020 23:08:56 +0100 Subject: avcodec/msmpeg4dec: Don't initialize unused RL VLCs For the RLTables ff_rl_table[0..2] only the very first VLC is only ever used, so it makes no sense to create 32 of them. This saves 285200B from the .bss segment; this amount of memory is actually saved when this decoder is used. Signed-off-by: Andreas Rheinhardt --- libavcodec/msmpeg4dec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavcodec') diff --git a/libavcodec/msmpeg4dec.c b/libavcodec/msmpeg4dec.c index 49df06a9d7..882dd22dbd 100644 --- a/libavcodec/msmpeg4dec.c +++ b/libavcodec/msmpeg4dec.c @@ -317,9 +317,9 @@ av_cold int ff_msmpeg4_decode_init(AVCodecContext *avctx) for(i=0;i