Commit 4e941bdf authored by michael's avatar michael

Document structure change rules with relation to ABI/API.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11281 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 87b87de3
......@@ -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 {
/**
......
......@@ -358,7 +358,13 @@ typedef struct AVProgram {
#define MAX_STREAMS 20
/* format I/O context */
/**
* format I/O context.
* 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(AVFormatContext) must not be used outside libav*
*/
typedef struct AVFormatContext {
const AVClass *av_class; /**< set by av_alloc_format_context */
/* can only be iformat or oformat, not both at the same time */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment