[FFmpeg-cvslog] lavc: Document that AVOptions should be used.

Michael Niedermayer git at videolan.org
Sun Sep 18 15:40:19 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Sep 18 15:20:05 2011 +0200| [49073022369d048b123d8ffa9c96a38179c763ce] | committer: Michael Niedermayer

lavc: Document that AVOptions should be used.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/avcodec.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 8e771dd..c0b84a7 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1185,6 +1185,8 @@ typedef struct AVFrame {
  * New fields can be added to the end with minor version bumps.
  * Removal, reordering and changes to existing fields require a major
  * version bump.
+ * Please use AVOptions (av_opt_set/get*()) to access these fields from user
+ * applications.
  * sizeof(AVCodecContext) must not be used outside libav*.
  */
 typedef struct AVCodecContext {



More information about the ffmpeg-cvslog mailing list