mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Document ByteIOContext and URLContext change rules.
Originally committed as revision 11286 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
107b5f93dd
commit
1308f2733d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user