aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-12-20 09:43:01 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-12-20 09:43:01 +0000
commit252f17e292064da25a82c99bf1f752ed5fedd434 (patch)
tree6268c50c933231b104c5c72e996833af0102c77f /libavcodec
parent1408352ada60d5a174b48d547114bb086812fcdb (diff)
downloadffmpeg-252f17e292064da25a82c99bf1f752ed5fedd434.tar.gz
Document structure change rules with relation to ABI/API.
Originally committed as revision 11281 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/avcodec.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index a32f961403..98d1489f34 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -753,7 +753,11 @@ typedef struct AVFrame {
#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 {
/**