[FFmpeg-devel] [PATCH] avformat/file: add fd protocol

"zhilizhao(赵志立)" quinkblack at foxmail.com
Mon Dec 5 04:51:34 EET 2022



> On Nov 19, 2022, at 02:48, Zhao Zhili <quinkblack at foxmail.com> wrote:
> 
> From: Zhao Zhili <zhilizhao at tencent.com>
> 
> Unlike the pipe protocol, fd protocol has seek support if it
> corresponding to a regular file.
> ---
> Sometimes it's the only way to access files via file descriptor, e.g.,
> requesting a shared file on Android:
> https://developer.android.com/training/secure-file-sharing/request-file
> 
> doc/protocols.texi      | 24 +++++++++++++++++++
> libavformat/Makefile    |  1 +
> libavformat/file.c      | 51 +++++++++++++++++++++++++++++++++++++++++
> libavformat/protocols.c |  1 +
> libavformat/version.h   |  4 ++--
> 5 files changed, 79 insertions(+), 2 deletions(-)
> 
> 

Ping for review.



More information about the ffmpeg-devel mailing list