Revision b3db9cee libavformat/avio.h
libavformat/avio.h | ||
---|---|---|
385 | 385 |
* @{ |
386 | 386 |
*/ |
387 | 387 |
attribute_deprecated int get_buffer(AVIOContext *s, unsigned char *buf, int size); |
388 |
attribute_deprecated int get_partial_buffer(AVIOContext *s, unsigned char *buf, int size); |
|
388 | 389 |
attribute_deprecated int get_byte(AVIOContext *s); |
389 | 390 |
attribute_deprecated unsigned int get_le16(AVIOContext *s); |
390 | 391 |
attribute_deprecated unsigned int get_le24(AVIOContext *s); |
... | ... | |
498 | 499 |
*/ |
499 | 500 |
int avio_read(AVIOContext *s, unsigned char *buf, int size); |
500 | 501 |
|
501 |
/** |
|
502 |
* Read size bytes from AVIOContext into buf. |
|
503 |
* This reads at most 1 packet. If that is not enough fewer bytes will be |
|
504 |
* returned. |
|
505 |
* @return number of bytes read or AVERROR |
|
506 |
*/ |
|
507 |
int get_partial_buffer(AVIOContext *s, unsigned char *buf, int size); |
|
508 |
|
|
509 | 502 |
/** @note return 0 if EOF, so you cannot use it if EOF handling is |
510 | 503 |
necessary */ |
511 | 504 |
int avio_r8 (AVIOContext *s); |
Also available in: Unified diff