Marvin Scholz
a679b87570
avutil/file: Add doxy for missing arguments
2 years ago
Andreas Rheinhardt
dea9744560
avutil/file: Properly deprecate av_tempfile()
...
It has been deprecated in b4f59beeb4
,
but the attribute_deprecated was not set and there was no entry
in APIchanges. This commit adds these and schedules it for removal.
Given that the reason behind the deprecation is exactly the same
as in av_fopen_utf8(), reuse its FF_API_AV_FOPEN_UTF8.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Andreas Rheinhardt
eaba16ba70
avutil/file: Don't include avutil.h
...
Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Marton Balint
4737387d28
avutil/file: allow mapping 0 byte files with av_file_map
...
Signed-off-by: Marton Balint <cus@passwd.hu>
6 years ago
Michael Niedermayer
b4f59beeb4
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>
9 years ago
Ganesh Ajjanagadde
a0b079ac25
avutil/file: add av_warn_unused_result to av_file_map
...
The return code here should be checked.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
9 years ago
Michael Niedermayer
b4d8724ab2
avutil/file: fix av_tempfile() documentation
...
Found-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Timothy Gu
a9bbf59be7
cosmetics: Fix "dont" "wont" "doesnt" typos
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3a34ac6541
file: typo
...
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
31bf820a26
av_tempfile: document umask() issue
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
74dbb5388e
av_tempfile: Pass int log_offset, void *log_ctx
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
885158c887
Move av_tempfile() into libavutil, it is a generically usefull thing and its small.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reinhard Tartler
134557f3a4
doxygen: fix usage of @file directive in libavutil/{dict,file}.h
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
0328b9ea39
Add av_file_map() and av_file_unmap() functions.
...
Originally committed as revision 26073 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago