X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Favio.c;h=62233a633c7bf568a68931714663adff2aae642c;hb=4ec07e943144ec0b7b89bff49bd54e6f6d6db4e8;hp=3606eb0fda965a740d6cc0a8c90d3227b01e9f01;hpb=ba5d08938130b2545f8b3e73a701989563316e49;p=ffmpeg diff --git a/libavformat/avio.c b/libavformat/avio.c index 3606eb0fda9..62233a633c7 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -645,6 +645,13 @@ int ffurl_get_multi_file_handle(URLContext *h, int **handles, int *numhandles) return h->prot->url_get_multi_file_handle(h, handles, numhandles); } +int ffurl_get_short_seek(URLContext *h) +{ + if (!h->prot->url_get_short_seek) + return AVERROR(ENOSYS); + return h->prot->url_get_short_seek(h); +} + int ffurl_shutdown(URLContext *h, int flags) { if (!h->prot->url_shutdown)