summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-23 16:03:43 +0100
committerClément Bœsch <u@pkh.me>2017-03-23 16:03:43 +0100
commitcc012c46e8b8668e8d8bb47aea393147b80c63ce (patch)
tree699c6eb590a70f7658d609db8591c3c551d295d8
parent4c45c866cfbbb756447a5dcf16e93e3f78b04c7a (diff)
parent14e7e19a90e9b45db7adeb4d40e7f16aa7404f28 (diff)
Merge commit '14e7e19a90e9b45db7adeb4d40e7f16aa7404f28'
* commit '14e7e19a90e9b45db7adeb4d40e7f16aa7404f28': lavc: bsf: Document input/output codecparam alloc/init process Merged-by: Clément Bœsch <u@pkh.me>
-rw-r--r--libavcodec/avcodec.h7
1 files changed, 5 insertions, 2 deletions
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;