lavc: Document AVFrame av_opt_ptr() relation.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-12-05 13:22:20 +01:00
parent 406e9647a0
commit b9d2b45165
1 changed files with 4 additions and 1 deletions

View File

@ -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*.
*/