Browse Source

Document structure change rules with relation to ABI/API.

Originally committed as revision 11281 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
252f17e292
2 changed files with 12 additions and 2 deletions
  1. +5
    -1
      libavcodec/avcodec.h
  2. +7
    -1
      libavformat/avformat.h

+ 5
- 1
libavcodec/avcodec.h View File

@@ -753,7 +753,11 @@ typedef struct AVFrame {
#define DEFAULT_FRAME_RATE_BASE 1001000 #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 { typedef struct AVCodecContext {
/** /**


+ 7
- 1
libavformat/avformat.h View File

@@ -358,7 +358,13 @@ typedef struct AVProgram {


#define MAX_STREAMS 20 #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 { typedef struct AVFormatContext {
const AVClass *av_class; /**< set by av_alloc_format_context */ const AVClass *av_class; /**< set by av_alloc_format_context */
/* can only be iformat or oformat, not both at the same time */ /* can only be iformat or oformat, not both at the same time */


Loading…
Cancel
Save