From: Clément Bœsch Date: Thu, 23 Mar 2017 15:03:43 +0000 (+0100) Subject: Merge commit '14e7e19a90e9b45db7adeb4d40e7f16aa7404f28' X-Git-Tag: n3.3~403 X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=cc012c46e8b8668e8d8bb47aea393147b80c63ce;hp=4c45c866cfbbb756447a5dcf16e93e3f78b04c7a Merge commit '14e7e19a90e9b45db7adeb4d40e7f16aa7404f28' * commit '14e7e19a90e9b45db7adeb4d40e7f16aa7404f28': lavc: bsf: Document input/output codecparam alloc/init process Merged-by: Clément Bœsch --- diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 73ed68da9f..af327ff9ad 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -5836,12 +5836,15 @@ typedef struct AVBSFContext { 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; /** - * 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;