[FFmpeg-devel] [PATCH 1/3] avcodec/put_bits: Relax requirements to rebase PutBitContext

Michael Niedermayer michael at niedermayer.cc
Sat Nov 16 22:12:01 EET 2019


On Sat, Nov 16, 2019 at 06:24:29AM +0100, Andreas Rheinhardt wrote:
> The earlier requirement was for the new buffer to be bigger than the old
> one. This has been relaxed to only demand that the new buffer can hold
> all the data written so far. This is in preparation for further commits.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavcodec/put_bits.h | 20 ++++++++++----------
>  1 file changed, 10 insertions(+), 10 deletions(-)

will apply

thx

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

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191116/81d9a9e9/attachment.sig>


More information about the ffmpeg-devel mailing list