[FFmpeg-cvslog] r11286 - trunk/libavformat/avio.h

michael subversion
Thu Dec 20 23:33:54 CET 2007


Author: michael
Date: Thu Dec 20 23:33:53 2007
New Revision: 11286

Log:
Document ByteIOContext and URLContext change rules.


Modified:
   trunk/libavformat/avio.h

Modified: trunk/libavformat/avio.h
==============================================================================
--- trunk/libavformat/avio.h	(original)
+++ trunk/libavformat/avio.h	Thu Dec 20 23:33:53 2007
@@ -29,6 +29,13 @@ typedef int64_t offset_t;
 
 /* unbuffered I/O */
 
+/**
+ * URL 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(URLContext) must not be used outside libav*
+ */
 struct URLContext {
     struct URLProtocol *prot;
     int flags;
@@ -135,6 +142,13 @@ URLProtocol *av_protocol_next(URLProtoco
 
 int register_protocol(URLProtocol *protocol);
 
+/**
+ * Bytestream IO 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(ByteIOContext) must not be used outside libav*
+ */
 typedef struct {
     unsigned char *buffer;
     int buffer_size;




More information about the ffmpeg-cvslog mailing list