[FFmpeg-devel] [PATCH 1/1] [ffmpeg-deve] avcodec/mpegaudiodec optimizing code size

Michael Niedermayer michael at niedermayer.cc
Wed May 21 03:46:42 EEST 2025


On Mon, May 19, 2025 at 08:15:37PM +0800, chenyu202107 at gmail.com wrote:
> From: chenyu <chenyu202107 at gmail.com>
> 
> Optimizing 160k code size by converting static array to dynamic malloc memory.
> 
> Signed-off-by: chenyu <chenyu202107 at gmail.com>
> ---
>  libavcodec/mpegaudiodata.h                |  4 ++--
>  libavcodec/mpegaudiodec_common_tablegen.h | 10 ++++++++--
>  2 files changed, 10 insertions(+), 4 deletions(-)

This segfaults:

./ffmpeg_g -max_error_rate 2 -max_alloc 100000 -i ~/tickets/2950/mpeg2_fuzz.mpg -max_muxing_queue_size 8000 -f null -


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250521/495783c1/attachment.sig>


More information about the ffmpeg-devel mailing list