mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
avio: deprecate url_max_packet_size().
URLContext.max_packet_size should be used directly.
This commit is contained in:
@ -208,6 +208,10 @@ int url_get_file_handle(URLContext *h)
|
||||
{
|
||||
return ffurl_get_file_handle(h);
|
||||
}
|
||||
int url_get_max_packet_size(URLContext *h)
|
||||
{
|
||||
return h->max_packet_size;
|
||||
}
|
||||
#endif
|
||||
|
||||
#define URL_SCHEME_CHARS \
|
||||
@ -368,11 +372,6 @@ int ffurl_get_file_handle(URLContext *h)
|
||||
return h->prot->url_get_file_handle(h);
|
||||
}
|
||||
|
||||
int url_get_max_packet_size(URLContext *h)
|
||||
{
|
||||
return h->max_packet_size;
|
||||
}
|
||||
|
||||
void url_get_filename(URLContext *h, char *buf, int buf_size)
|
||||
{
|
||||
av_strlcpy(buf, h->filename, buf_size);
|
||||
|
Reference in New Issue
Block a user