diff avcodec.h @ 6048:0277500fe13d libavcodec

Document structure change rules with relation to ABI/API.
author michael
date Thu, 20 Dec 2007 09:43:01 +0000
parents 2f9c17454842
children 7fb5a3652990
line wrap: on
line diff
--- a/avcodec.h	Thu Dec 20 00:55:08 2007 +0000
+++ b/avcodec.h	Thu Dec 20 09:43:01 2007 +0000
@@ -753,7 +753,11 @@
 #define DEFAULT_FRAME_RATE_BASE 1001000
 
 /**
- * main external API structure
+ * main external API structure.
+ * New fields can be added to the end with minor version bumps.
+ * Removial, reordering and changes to existing fields require a Major
+ * version bump.
+ * sizeof(AVCodecContext) must not be used outside libav*
  */
 typedef struct AVCodecContext {
     /**