[FFmpeg-devel] [PATCH] avformat/file: seek back to initial position for fd protocol

Anton Khirnov anton at khirnov.net
Mon Dec 18 13:27:34 EET 2023


Quoting Zhao Zhili (2023-12-18 17:42:39)
> From: Zhao Zhili <zhilizhao at tencent.com>
> 
> So user's fd can be passed to libavformat multiple times in sequence
> without changing the position.
> 
> Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>
> ---
>  libavformat/file.c | 14 +++++++++++++-
>  1 file changed, 13 insertions(+), 1 deletion(-)

Looks ok.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list