Revision bc371aca libavformat/url.h
libavformat/url.h | ||
---|---|---|
58 | 58 |
*/ |
59 | 59 |
int ffurl_open(URLContext **h, const char *url, int flags); |
60 | 60 |
|
61 |
/** |
|
62 |
* Read up to size bytes from the resource accessed by h, and store |
|
63 |
* the read bytes in buf. |
|
64 |
* |
|
65 |
* @return The number of bytes actually read, or a negative value |
|
66 |
* corresponding to an AVERROR code in case of error. A value of zero |
|
67 |
* indicates that it is not possible to read more from the accessed |
|
68 |
* resource (except if the value of the size argument is also zero). |
|
69 |
*/ |
|
70 |
int ffurl_read(URLContext *h, unsigned char *buf, int size); |
|
71 |
|
|
61 | 72 |
#endif //AVFORMAT_URL_H |
Also available in: Unified diff