]> git.sesse.net Git - ffmpeg/commit
avcodec/roqvideoenc: Avoid allocating buffers separately
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 28 Feb 2021 01:44:26 +0000 (02:44 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 1 Mar 2021 05:07:48 +0000 (06:07 +0100)
commit590f491b0aefe770876c09c09433c24fc21a1565
treed917c16ac8c172f3cbc7be59799b0490720d1726
parented89ebb12ee55dd25efac42946298d53b816d53a
avcodec/roqvideoenc: Avoid allocating buffers separately

This is possible because their size is known at compile-time; so they
can be put directly into the context and don't need to be allocated for
every frame.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/roqvideoenc.c