mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec: clarify the allocation requirements for intra_matrix and inter_matrix fields
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
806ac7da69
commit
056865a1d6
|
@ -2057,15 +2057,19 @@ typedef struct AVCodecContext {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* custom intra quantization matrix
|
* custom intra quantization matrix
|
||||||
* - encoding: Set by user, can be NULL.
|
* Must be allocated with the av_malloc() family of functions, and will be freed in
|
||||||
* - decoding: Set by libavcodec.
|
* avcodec_free_context().
|
||||||
|
* - encoding: Set/allocated by user, freed by libavcodec. Can be NULL.
|
||||||
|
* - decoding: Set/allocated/freed by libavcodec.
|
||||||
*/
|
*/
|
||||||
uint16_t *intra_matrix;
|
uint16_t *intra_matrix;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* custom inter quantization matrix
|
* custom inter quantization matrix
|
||||||
* - encoding: Set by user, can be NULL.
|
* Must be allocated with the av_malloc() family of functions, and will be freed in
|
||||||
* - decoding: Set by libavcodec.
|
* avcodec_free_context().
|
||||||
|
* - encoding: Set/allocated by user, freed by libavcodec. Can be NULL.
|
||||||
|
* - decoding: Set/allocated/freed by libavcodec.
|
||||||
*/
|
*/
|
||||||
uint16_t *inter_matrix;
|
uint16_t *inter_matrix;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue