--- libavcodec/avcodec.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index ace761d..a75a245 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -4985,6 +4985,10 @@ typedef struct AVBSFInternal AVBSFInternal; * The fields in the struct will only be changed (by the caller or by the * filter) as described in their documentation, and are to be considered * immutable otherwise. + * + * @note Input and output AVCodecParameters wwnership will be transferred + * the context after av_bsf_init(), so you may need to use + * avcodec_parameters_copy(), rather than assigning a reference. */ typedef struct AVBSFContext { /** -- 2.9.1
_______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel