its(), if buffer_size < 0, the buffer_size is set to zero and
the buffer is set to 0/NULL.
Thereafter, any calls to put_bits will crash, because it accesses
'buf_ptr', which is NULL.
On Thu, Feb 26, 2015 at 11:45 AM, Michael Niedermayer
wrote:
> Hi
>
>
> On Thu, Feb 26, 2
The init_put_bits() function (in libavcodec/put_bits.h) takes a buffer and
a buffer size (in bytes). Several of the encoders are passing the buffer
size in bits, by multiplying the buffer size by 8. This is incorrect.
We saw this problem when encoding a ProRes (Anatoliy) file at size
4096x4096. De