Commit 14e7e19a authored by Vittorio Giovara's avatar Vittorio Giovara

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

parent eb542106
...@@ -5017,12 +5017,15 @@ typedef struct AVBSFContext { ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment