mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec: be more explicit about the buffer size in get_encode_buffer documentation
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
f7987ce966
commit
5b5398722e
@ -2097,6 +2097,10 @@ typedef struct AVCodecContext {
|
||||
* This callback must use the above value to calculate the required buffer size,
|
||||
* which must padded by at least AV_INPUT_BUFFER_PADDING_SIZE bytes.
|
||||
*
|
||||
* In some specific cases, the encoder may not use the entire buffer allocated by this
|
||||
* callback. This will be reflected in the size value in the packet once returned by
|
||||
* avcodec_receive_packet().
|
||||
*
|
||||
* This callback must fill the following fields in the packet:
|
||||
* - data: alignment requirements for AVPacket apply, if any. Some architectures and
|
||||
* encoders may benefit from having aligned data.
|
||||
|
Loading…
Reference in New Issue
Block a user