aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-05 13:22:20 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-05 13:22:20 +0100
commitb9d2b45165021cd0ccbd892997661bfd5e90946f (patch)
tree8f048302a7c3b585a55e39dc16c90e2df3927bf7 /libavcodec/avcodec.h
parent406e9647a08701d6b51f2e8abcb0166c74230917 (diff)
downloadffmpeg-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.h5
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*.
*/