lavc: bsf: Document input/output codecparam alloc/init process

This commit is contained in:
Vittorio Giovara 2016-10-04 11:59:53 -04:00
parent eb54210602
commit 14e7e19a90
1 changed files with 5 additions and 2 deletions

View File

@ -5017,12 +5017,15 @@ typedef struct AVBSFContext {
void *priv_data; void *priv_data;
/** /**
* Parameters of the input stream. Set by the caller before av_bsf_init(). * Parameters of the input stream. This field is allocated in
* av_bsf_alloc(), it needs to be filled by the caller before
* av_bsf_init().
*/ */
AVCodecParameters *par_in; AVCodecParameters *par_in;
/** /**
* Parameters of the output stream. Set by the filter in av_bsf_init(). * Parameters of the output stream. This field is allocated in
* av_bsf_alloc(), it is set by the filter in av_bsf_init().
*/ */
AVCodecParameters *par_out; AVCodecParameters *par_out;