* commit '14e7e19a90e9b45db7adeb4d40e7f16aa7404f28': lavc: bsf: Document input/output codecparam alloc/init process
Unified · Split
| @@ -5836,12 +5836,15 @@ typedef struct AVBSFContext { · 5835 unmodified lines | ||
| 5836 | 5836 | void *priv_data; |
| 5837 | 5837 | |
| 5838 | 5838 | /** |
| 5839 | − * Parameters of the input stream. Set by the caller before av_bsf_init(). | |
| 5839 | + * Parameters of the input stream. This field is allocated in | |
| 5840 | + * av_bsf_alloc(), it needs to be filled by the caller before | |
| 5841 | + * av_bsf_init(). | |
| 5840 | 5842 | */ |
| 5841 | 5843 | AVCodecParameters *par_in; |
| 5842 | 5844 | |
| 5843 | 5845 | /** |
| 5844 | − * Parameters of the output stream. Set by the filter in av_bsf_init(). | |
| 5846 | + * Parameters of the output stream. This field is allocated in | |
| 5847 | + * av_bsf_alloc(), it is set by the filter in av_bsf_init(). | |
| 5845 | 5848 | */ |
| 5846 | 5849 | AVCodecParameters *par_out; |
| 5847 | 5850 | |