[FFmpeg-cvslog] r11281 - in trunk: libavcodec/avcodec.h libavformat/avformat.h
michael
subversion
Thu Dec 20 10:43:01 CET 2007
Author: michael
Date: Thu Dec 20 10:43:01 2007
New Revision: 11281
Log:
Document structure change rules with relation to ABI/API.
Modified:
trunk/libavcodec/avcodec.h
trunk/libavformat/avformat.h
Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h (original)
+++ trunk/libavcodec/avcodec.h Thu Dec 20 10:43:01 2007
@@ -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 {
/**
Modified: trunk/libavformat/avformat.h
==============================================================================
--- trunk/libavformat/avformat.h (original)
+++ trunk/libavformat/avformat.h Thu Dec 20 10:43:01 2007
@@ -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 */
More information about the ffmpeg-cvslog
mailing list