diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2022-12-15 01:10:10 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2023-01-11 18:50:36 +0800 |
commit | 6e7c006e4047c319e9330106c16f29a9b81e22e6 (patch) | |
tree | 597841618b3125190b0b25a3027733d23c82d04c /libavformat/protocols.c | |
parent | e9fe1634d4be4b7b7a79eceaea532a2292c97f0c (diff) | |
download | ffmpeg-6e7c006e4047c319e9330106c16f29a9b81e22e6.tar.gz |
avformat/file: add fd protocol
Unlike the pipe protocol, fd protocol has seek support if it
corresponding to a regular file.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'libavformat/protocols.c')
-rw-r--r-- | libavformat/protocols.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/protocols.c b/libavformat/protocols.c index d3a7d4310b..9491dc7d00 100644 --- a/libavformat/protocols.c +++ b/libavformat/protocols.c @@ -29,6 +29,7 @@ extern const URLProtocol ff_concat_protocol; extern const URLProtocol ff_concatf_protocol; extern const URLProtocol ff_crypto_protocol; extern const URLProtocol ff_data_protocol; +extern const URLProtocol ff_fd_protocol; extern const URLProtocol ff_ffrtmpcrypt_protocol; extern const URLProtocol ff_ffrtmphttp_protocol; extern const URLProtocol ff_file_protocol; |