Commit b9d2b451 authored by Michael Niedermayer's avatar Michael Niedermayer

lavc: Document AVFrame av_opt_ptr() relation.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 406e9647
...@@ -944,7 +944,10 @@ typedef struct AVPacket { ...@@ -944,7 +944,10 @@ typedef struct AVPacket {
/** /**
* Audio Video Frame. * Audio Video Frame.
* New fields can be added to the end of AVFRAME with minor version * 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. * a major version bump.
* sizeof(AVFrame) must not be used outside libav*. * sizeof(AVFrame) must not be used outside libav*.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment