Re: [FFmpeg-devel] [PATCH] avcodec/proresenc_kostya: Remove harmful check

2021-04-09 Thread Andreas Rheinhardt
Andreas Rheinhardt: > The ProRes encoder allocates huge worst-case buffers just to be safe; > and for huge resolutions (8k in this case) these can be so big that the > number of bits does no longer fit into a (signed 32-bit) int; this means > that one must no longer use the parts of the PutBits API

[FFmpeg-devel] [PATCH] avcodec/proresenc_kostya: Remove harmful check

2021-04-07 Thread Andreas Rheinhardt
The ProRes encoder allocates huge worst-case buffers just to be safe; and for huge resolutions (8k in this case) these can be so big that the number of bits does no longer fit into a (signed 32-bit) int; this means that one must no longer use the parts of the PutBits API that deal with bit counters