diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-10-04 11:59:53 -0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-10-12 11:06:58 -0400 |
commit | 14e7e19a90e9b45db7adeb4d40e7f16aa7404f28 (patch) | |
tree | 8dabb645a3e41e932d07ada9f6fdfc214ce8cf8e | |
parent | eb542106029a9b28b4f76ff7c181eb4f542da9c4 (diff) | |
download | ffmpeg-14e7e19a90e9b45db7adeb4d40e7f16aa7404f28.tar.gz |
lavc: bsf: Document input/output codecparam alloc/init process
-rw-r--r-- | libavcodec/avcodec.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 167525dda3..88e6c62272 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -5017,12 +5017,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; |