diff options
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r-- | libavformat/avio.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index a0eee9355e..a51bac1e76 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -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); |