[Libav-user] Video buffer padding
Tim Pitman
tapitman11 at gmail.com
Wed Oct 24 07:00:41 CEST 2012
The documentation for avcodec_decode_video2() states that the input
buffer should be FF_INPUT_BUFFER_PADDING_SIZE longer than the actual
data. My question is whether the size should include those bytes or
not. For example if my buffer was 4096 bytes of data, should I set
size to 4096 and then pad with FF_INPUT_BUFFER_PADDING_SIZE, or should
I pad with FF_INPUT_BUFFER_PADDING_SIZE and then set size to 4096 +
FF_INPUT_BUFFER_PADDING_SIZE?
Thanks,
Tim
More information about the Libav-user
mailing list