From c306748c2951ffabc662f23c98e48b7db5267df6 Mon Sep 17 00:00:00 2001 From: Panagiotis Issaris Date: Mon, 5 Mar 2007 14:26:50 +0000 Subject: Move avio.h's url_get_max_packet_size() comment from source to header file. Remove the comment section of url_set_interrupt_cb() which was a duplicate as it appeared identically in both the header and the source file. Originally committed as revision 8259 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avio.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libavformat/avio.h') diff --git a/libavformat/avio.h b/libavformat/avio.h index 898e0e8b9f..4b2a9f7e58 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -61,6 +61,15 @@ offset_t url_seek(URLContext *h, offset_t pos, int whence); int url_close(URLContext *h); int url_exist(const char *filename); offset_t url_filesize(URLContext *h); + +/* + * Return the maximum packet size associated to packetized file + * handle. If the file is not packetized (stream like http or file on + * disk), then 0 is returned. + * + * @param h file handle + * @return maximum packet size in bytes + */ int url_get_max_packet_size(URLContext *h); void url_get_filename(URLContext *h, char *buf, int buf_size); -- cgit v1.2.3