From b9d2b45165021cd0ccbd892997661bfd5e90946f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 5 Dec 2011 13:22:20 +0100 Subject: [PATCH] lavc: Document AVFrame av_opt_ptr() relation. Signed-off-by: Michael Niedermayer --- libavcodec/avcodec.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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*. */