[FFmpeg-cvslog] lavc: bsf: Document input/output codecparam alloc/init process

Vittorio Giovara git at videolan.org
Thu Mar 23 17:08:30 EET 2017


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Tue Oct  4 11:59:53 2016 -0400| [14e7e19a90e9b45db7adeb4d40e7f16aa7404f28] | committer: Vittorio Giovara

lavc: bsf: Document input/output codecparam alloc/init process

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=14e7e19a90e9b45db7adeb4d40e7f16aa7404f28
---

 libavcodec/avcodec.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 167525d..88e6c62 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;
 



More information about the ffmpeg-cvslog mailing list