diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-03-09 14:33:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-03-12 02:08:34 +0100 |
commit | b4f59beeb4c2171879d0d7607a4a7d6165f07791 (patch) | |
tree | c0e7423f6ce12ff9773d1a999fd7feabd462e43b /libavutil/file.h | |
parent | 5d64ba9d18294a305f4f46c9a64e592dc5d34aa9 (diff) | |
download | ffmpeg-b4f59beeb4c2171879d0d7607a4a7d6165f07791.tar.gz |
avutil/file: Move av_tempfile() to avutil/file_open ff_tempfile()
document the issue with av_tempfile()
Tested-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/file.h')
-rw-r--r-- | libavutil/file.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |