Commit 72d2a823 authored by michael's avatar michael

Document ByteIOContext and URLContext change rules.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11286 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e65579a6
......@@ -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(URLProtocol *p);
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;
......
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