diff avio.h @ 5004:84a7b7a2f252 libavformat

Move function for reading whole specified amount of data from RTSP demuxer into more common place.
author kostya
date Thu, 04 Jun 2009 06:25:53 +0000
parents 089a36c3c0db
children db1e4c61789a
line wrap: on
line diff
--- a/avio.h	Wed Jun 03 23:34:35 2009 +0000
+++ b/avio.h	Thu Jun 04 06:25:53 2009 +0000
@@ -69,6 +69,7 @@
                        const char *filename, int flags);
 int url_open(URLContext **h, const char *filename, int flags);
 int url_read(URLContext *h, unsigned char *buf, int size);
+int url_read_complete(URLContext *h, unsigned char *buf, int size);
 int url_write(URLContext *h, unsigned char *buf, int size);
 int64_t url_seek(URLContext *h, int64_t pos, int whence);
 int url_close(URLContext *h);