[FFmpeg-devel] [PATCH] lavu: add av_file_exists function

Nicolas George george at nsup.org
Wed Nov 6 12:25:07 CET 2013


Le quartidi 14 brumaire, an CCXXII, Lukasz Marek a écrit :
> Signed-off-by: Lukasz Marek <lukasz.m.luki at gmail.com>
> ---
>  doc/APIchanges      |    3 +++
>  libavutil/file.c    |   20 ++++++++++++++++++++
>  libavutil/file.h    |    8 ++++++++
>  libavutil/version.h |    2 +-
>  4 files changed, 32 insertions(+), 1 deletion(-)

How is it different from "avio_check(file, 0)"?

And what is the use case? Checking that a file exists is usually a design
mistake.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131106/398cb3fb/attachment.asc>


More information about the ffmpeg-devel mailing list