* Read up to size bytes from the resource accessed by h, and store * the read bytes in buf. * * @return The number of bytes actually read, or a negative value * corresponding to an AVERROR code in case of error. A value of zero * indicates that it is not possible to read more from the accessed * resource (except if the value of the size argument is also zero). */
| 179 | * resource (except if the value of the size argument is also zero). |
| 180 | */ |
| 181 | static inline int ffurl_read(URLContext *h, uint8_t *buf, int size) |
| 182 | { |
| 183 | return ffurl_read2(h, buf, size); |
| 184 | } |
| 185 | |
| 186 | /** |
| 187 | * Read as many bytes as possible (up to size), calling the |
no test coverage detected