]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avio_internal.h
udp: Replace double select() by select+mutex+cond.
[ffmpeg] / libavformat / avio_internal.h
index 4c80163d31b879bd545c83c2ff3c5aceb16048b5..df614b22d9d312229fe7bb0ade358c0c2d49b961 100644 (file)
 #include "avio.h"
 #include "url.h"
 
+#include "libavutil/log.h"
+
+extern const AVClass ffio_url_class;
+
 int ffio_init_context(AVIOContext *s,
                   unsigned char *buffer,
                   int buffer_size,
@@ -67,6 +71,8 @@ uint64_t ffio_read_varlen(AVIOContext *bc);
 /** @warning must be called before any I/O */
 int ffio_set_buf_size(AVIOContext *s, int buf_size);
 
+int ffio_limit(AVIOContext *s, int size);
+
 void ffio_init_checksum(AVIOContext *s,
                         unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len),
                         unsigned long checksum);