From b4f59beeb4c2171879d0d7607a4a7d6165f07791 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 9 Mar 2016 14:33:25 +0100 Subject: avutil/file: Move av_tempfile() to avutil/file_open ff_tempfile() document the issue with av_tempfile() Tested-by: Hendrik Leppkes Signed-off-by: Michael Niedermayer --- libavutil/file.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavutil/file.h') diff --git a/libavutil/file.h b/libavutil/file.h index e931be71e4..8666c7b1d5 100644 --- a/libavutil/file.h +++ b/libavutil/file.h @@ -62,6 +62,7 @@ void av_file_unmap(uint8_t *bufptr, size_t size); * @note On very old libcs it is necessary to set a secure umask before * calling this, av_tempfile() can't call umask itself as it is used in * libraries and could interfere with the calling application. + * @deprecated as fd numbers cannot be passed saftely between libs on some platforms */ int av_tempfile(const char *prefix, char **filename, int log_offset, void *log_ctx); -- cgit v1.2.3