]> git.sesse.net Git - ffmpeg/commit
avcodec/put_bits: Relax requirements to rebase PutBitContext
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 16 Nov 2019 05:24:29 +0000 (06:24 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 16 Nov 2019 19:57:45 +0000 (20:57 +0100)
commit27522fb64c43e06486261ca9359a1de929b7d2f3
tree0a3c2c381325246df5fc948fa3f5e3352ff5eced
parent57db9f488f73fa58512101f0d5399de79a60b984
avcodec/put_bits: Relax requirements to rebase PutBitContext

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@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/put_bits.h