diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-05 13:22:20 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-05 13:22:20 +0100 |
commit | b9d2b45165021cd0ccbd892997661bfd5e90946f (patch) | |
tree | 8f048302a7c3b585a55e39dc16c90e2df3927bf7 /libavcodec/avcodec.h | |
parent | 406e9647a08701d6b51f2e8abcb0166c74230917 (diff) | |
download | ffmpeg-b9d2b45165021cd0ccbd892997661bfd5e90946f.tar.gz |
lavc: Document AVFrame av_opt_ptr() relation.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index f6e4b071ba..ed7a30eb7f 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -944,7 +944,10 @@ typedef struct AVPacket { /** * Audio Video Frame. * New fields can be added to the end of AVFRAME with minor version - * bumps. Removal, reordering and changes to existing fields require + * bumps. Similarly fields that are marked as to be only accessed by + * av_opt_ptr() can be reordered. This allows 2 forks to add fields + * without breaking compatibility with each other. + * Removal, reordering and changes in the remaining cases require * a major version bump. * sizeof(AVFrame) must not be used outside libav*. */ |