avcodec/put_bits: Always check buffer end before writing
This causes a overall slowdown of 0.1 % (tested with mpeg4 single thread encoding of matrixbench at QP=3) Signed-off-by:Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit cccb0ffc) Conflicts: libavcodec/put_bits.h
Showing
Please
register
or
sign in
to comment