diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-08 11:07:46 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-08 11:07:51 +0200 |
commit | 5f38317e59bdea80e2bb66389b250b985344ebdc (patch) | |
tree | fa1065c9b81036254c7248a61371eaa777553c96 /libavutil/internal.h | |
parent | 1b2a5817fcd6bef184d6a32ddb62a9df1dd4fd0e (diff) | |
parent | 869b04e89154cd92d2bcfdabcecbe3217864c099 (diff) | |
download | ffmpeg-5f38317e59bdea80e2bb66389b250b985344ebdc.tar.gz |
Merge commit '869b04e89154cd92d2bcfdabcecbe3217864c099'
* commit '869b04e89154cd92d2bcfdabcecbe3217864c099':
libavutil: add avpriv_open() to open files with close-on-exec flag
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/internal.h')
-rw-r--r-- | libavutil/internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index 4b85efd867..680d600451 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -198,4 +198,9 @@ void avpriv_report_missing_feature(void *avc, void avpriv_request_sample(void *avc, const char *msg, ...) av_printf_format(2, 3); +/** + * A wrapper for open() setting O_CLOEXEC. + */ +int avpriv_open(const char *filename, int flags, ...); + #endif /* AVUTIL_INTERNAL_H */ |