52 Commits (3190bed148df57740ef818764979d60dde53d3d0)

Author SHA1 Message Date
Andreas Rheinhardt dea9744560 avutil/file: Properly deprecate av_tempfile() 2 years ago
Andreas Rheinhardt 72c601e0f7 avutil/internal: Move avpriv-file API to a header of its own 2 years ago
Jun Zhao 95780f4dcb avutil/file: add more check befor destory the buffer 5 years ago
Jun Zhao 7ce15b1d43 avutil/file: always set *size to zero if *bufptr is NULL 5 years ago
Marton Balint 4737387d28 avutil/file: allow mapping 0 byte files with av_file_map 6 years ago
Diego Biurrun 97cfe1d8bd Convert all AVClass struct declarations to designated initializers. 8 years ago
Michael Niedermayer b4f59beeb4 avutil/file: Move av_tempfile() to avutil/file_open ff_tempfile() 9 years ago
Diego Biurrun bf704132a5 Don't anonymously typedef structs 10 years ago
Martin Storsjö a76d0cdf21 libavutil: Move avpriv_open to a new file, file_open.c 12 years ago
Martin Storsjö dfc6b5c814 file: Move win32 utf8->wchar open wrapper to libavutil 12 years ago
Derek Buitenhuis 87e8cbf709 libavutil: Don't use fcntl if the function does not exist 12 years ago
Derek Buitenhuis 0f1fb6c019 libavutil: Don't use fcntl if the function does not exist 12 years ago
Rémi Denis-Courmont 869b04e891 libavutil: add avpriv_open() to open files with close-on-exec flag 12 years ago
Martin Storsjö 15816c8e8b avutil: Include io.h with a separate condition from MapViewOfFile 12 years ago
Michael Niedermayer c9454cb643 av_tempfile: fix leak in error case 12 years ago
Martin Storsjö 70766c2182 Add some more missing includes after removing the implicit common.h 13 years ago
Martin Storsjö 1d9c2dc89a Don't include common.h from avutil.h 13 years ago
Mans Rullgard d11baad055 lavu/file: include unistd.h only when available 13 years ago
Diego Biurrun 299ab0fd17 libavutil: Remove pointless file test program. 13 years ago
Michael Niedermayer fd6af5375b av_tempfile: dont try the current directory with mkstemp() unless we are on windows 13 years ago
Michael Niedermayer e8e13358ad av_tempfile: change mode for fallback to 0600 to match mkstemp() 13 years ago
Michael Niedermayer 74dbb5388e av_tempfile: Pass int log_offset, void *log_ctx 13 years ago
Michael Niedermayer 482aabd59a av_tempfile: fix error codes 13 years ago
Michael Niedermayer 4105335c98 av_tempfile: use O_EXCL 13 years ago
Michael Niedermayer 797c2ef970 av_tempfile: try tempnam(NULL) first 13 years ago
Michael Niedermayer 5746f91036 av_tempfile: handle missing O_BINARY 13 years ago
Michael Niedermayer c9833fc33a av_tempfile: fix alloc type for !HAVE_MKSTEMP 13 years ago
Michael Niedermayer 885158c887 Move av_tempfile() into libavutil, it is a generically usefull thing and its small. 13 years ago
Mans Rullgard abc78a5a7c Do not include log.h in avutil.h 14 years ago
Mans Rullgard d0989bed22 Fix error check in av_file_map() 14 years ago
Reimar Döffinger 314374e579 Use MAP_FAILED to check for mmap failure instead of manually 14 years ago
Michael Niedermayer 10ff2967ea file: Fix mmap error check. 14 years ago
Anton Khirnov 490a022d86 lavu: remove misc disabled cruft 14 years ago
Mans Rullgard 2912e87a6c Replace FFmpeg with Libav in licence headers 14 years ago
Daniel Verkamp 73f6d31e6c Win32 support for av_file_map() 14 years ago
Stefano Sabatini f02cbc4590 Fix av_file_map(): replace stat(filename, &st) with fstat(fd, &st). 14 years ago
Stefano Sabatini 1b31037d62 Replace lstat() with stat() in av_file_map(). The lstat() use was wrong. 14 years ago
Stefano Sabatini 0328b9ea39 Add av_file_map() and av_file_unmap() functions. 14 years ago