X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Ffile.h;h=8666c7b1d5ee6e1a86a47734efb1d8e943f37f66;hb=6bc5ef37cbf6628dd4f4c9dae9d8b3009fc81408;hp=e931be71e458890e537512ab784500ffe377047f;hpb=063b26d35857f72b4f9bd24ea509808291f5d6b8;p=ffmpeg diff --git a/libavutil/file.h b/libavutil/file.h index e931be71e45..8666c7b1d5e 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);