Revision 8bfb108b libavformat/avio.h

View differences:

libavformat/avio.h
32 32
/**
33 33
 * URL Context.
34 34
 * New fields can be added to the end with minor version bumps.
35
 * Removal, reordering and changes to existing fields require a Major
35
 * Removal, reordering and changes to existing fields require a major
36 36
 * version bump.
37
 * sizeof(URLContext) must not be used outside libav*
37
 * sizeof(URLContext) must not be used outside libav*.
38 38
 */
39 39
struct URLContext {
40 40
    struct URLProtocol *prot;
......
69 69

  
70 70
/**
71 71
 * Return the maximum packet size associated to packetized file
72
 * handle. If the file is not packetized (stream like http or file on
72
 * handle. If the file is not packetized (stream like HTTP or file on
73 73
 * disk), then 0 is returned.
74 74
 *
75 75
 * @param h file handle
......
79 79
void url_get_filename(URLContext *h, char *buf, int buf_size);
80 80

  
81 81
/**
82
 * the callback is called in blocking functions to test regulary if
82
 * The callback is called in blocking functions to test regulary if
83 83
 * asynchronous interruption is needed. AVERROR(EINTR) is returned
84 84
 * in this case by the interrupted function. 'NULL' means no interrupt
85
 * callback is given. i
85
 * callback is given.
86 86
 */
87 87
void url_set_interrupt_cb(URLInterruptCB *interrupt_cb);
88 88

  
......
95 95
 * @param pause 1 for pause, 0 for resume
96 96
 */
97 97
int av_url_read_pause(URLContext *h, int pause);
98

  
98 99
/**
99 100
 * Seek to a given timestamp relative to some component stream.
100
 * Only meaningful if using a network streaming protocol (e.g. MMS.)
101
 * Only meaningful if using a network streaming protocol (e.g. MMS.).
101 102
 * @param stream_index The stream index that the timestamp is relative to.
102 103
 *        If stream_index is (-1) the timestamp should be in AV_TIME_BASE
103 104
 *        units from the beginning of the presentation.
......
145 146
/**
146 147
 * Bytestream IO Context.
147 148
 * New fields can be added to the end with minor version bumps.
148
 * Removal, reordering and changes to existing fields require a Major
149
 * Removal, reordering and changes to existing fields require a major
149 150
 * version bump.
150
 * sizeof(ByteIOContext) must not be used outside libav*
151
 * sizeof(ByteIOContext) must not be used outside libav*.
151 152
 */
152 153
typedef struct {
153 154
    unsigned char *buffer;

Also available in: Unified diff