aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-31 17:58:04 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-04 17:45:20 +0200
commit5958df341de69d94b9958c10cc4aaca510b8cd24 (patch)
tree07f936eda1252378b930570a44d9ec2ffc296e52 /libavformat/avio.h
parent1869ea03b7fb8e3db2f034f4214e03bd3f8b3d30 (diff)
downloadffmpeg-5958df341de69d94b9958c10cc4aaca510b8cd24.tar.gz
avio: deprecate url_max_packet_size().
URLContext.max_packet_size should be used directly.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 020a75aa03..4c2b4d57a2 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -112,6 +112,7 @@ attribute_deprecated int64_t url_seek(URLContext *h, int64_t pos, int whence);
attribute_deprecated int url_close(URLContext *h);
attribute_deprecated int64_t url_filesize(URLContext *h);
attribute_deprecated int url_get_file_handle(URLContext *h);
+attribute_deprecated int url_get_max_packet_size(URLContext *h);
#endif
/**
@@ -121,16 +122,6 @@ attribute_deprecated int url_get_file_handle(URLContext *h);
int url_exist(const char *url);
/**
- * 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);
-
-/**
* Copy the filename of the resource accessed by h to buf.
*
* @param buf_size size in bytes of buf