[FFmpeg-devel] [PATCH] avcodec/ffv1: Only allocate fltmap* and bitmap when needed

Michael Niedermayer michael at niedermayer.cc
Fri Apr 4 20:50:40 EEST 2025


On Wed, Apr 02, 2025 at 04:49:20PM +0200, Michael Niedermayer wrote:
> This reduces memory requirements
> 
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/ffv1.c             |  4 ++++
>  libavcodec/ffv1.h             |  9 ++++-----
>  libavcodec/ffv1dec.c          | 18 +++++++++++++++++-
>  libavcodec/ffv1enc.c          | 23 +++++++++++++++++------
>  libavcodec/ffv1enc_template.c |  3 ++-
>  5 files changed, 44 insertions(+), 13 deletions(-)

will apply

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

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- 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/20250404/28be30b3/attachment.sig>


More information about the ffmpeg-devel mailing list