changeset 6049:7fb5a3652990 libavcodec

Document a few more structure change rules with relation to ABI/API.
author michael
date Thu, 20 Dec 2007 09:59:07 +0000
parents 0277500fe13d
children aeea94d21156
files avcodec.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Thu Dec 20 09:43:01 2007 +0000
+++ b/avcodec.h	Thu Dec 20 09:59:07 2007 +0000
@@ -745,6 +745,12 @@
 
 /**
  * Audio Video Frame.
+ * New fields can be added to the end of FF_COMMON_FRAME with minor version
+ * bumps.
+ * Removial, reordering and changes to existing fields require a Major
+ * version bump. No fields should be added into AVFrame before or after
+ * FF_COMMON_FRAME!
+ * sizeof(AVFrame) must not be used outside libav*
  */
 typedef struct AVFrame {
     FF_COMMON_FRAME