ffmpeg/libavutil
Martin Storsjö e743e7ae6e libavutil: Make avpriv_open a library-internal function on msvcrt
Add one copy of the function into each of the libraries, similarly
to what we do for log2_tab. When using static libs, only one
copy of the file_open.o object file gets included, while when
using shared libraries, each of them get a copy of its own.

This fixes DLL builds with a statically linked C runtime, where
each DLL effectively has got its own instance of the C runtime,
where file descriptors can't be shared across runtimes.

On systems not using msvcrt, the function is not duplicated.

Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-10 00:53:33 +03:00
..
arm Employ consistent LIBAV_COMPAT_ multiple inclusion guards in compat/ 2013-07-18 18:12:38 +02:00
avr32
bfin
mips
ppc Consistently use "cpu_flags" as variable/parameter name for CPU flags 2013-07-18 00:31:35 +02:00
sh4
tomi intreadwrite: tomi: Add missing attributes.h #include for av_always_inline 2013-02-20 00:45:30 +01:00
x86 Consistently use "cpu_flags" as variable/parameter name for CPU flags 2013-07-18 00:31:35 +02:00
adler32.c
adler32.h
aes.c avutil: Add functions for allocating opaque contexts for algorithms 2012-10-11 23:35:27 +03:00
aes.h avutil: Add functions for allocating opaque contexts for algorithms 2012-10-11 23:35:27 +03:00
atomic_gcc.h atomic: fix CAS with armcc. 2013-03-09 08:36:40 +01:00
atomic_suncc.h atomic: Add include guards to the implementation headers 2013-03-08 12:00:06 +02:00
atomic_win32.h atomic: Add include guards to the implementation headers 2013-03-08 12:00:06 +02:00
atomic.c configure: prettify atomics handling. 2013-04-03 09:22:31 +02:00
atomic.h configure: prettify atomics handling. 2013-04-03 09:22:31 +02:00
attributes.h
audio_fifo.c
audio_fifo.h
audioconvert.h lavu: rename audioconvert.* to channel_layout.* and deprecate audioconvert.h 2012-11-11 13:35:12 -05:00
avassert.h
avstring.c avstring: Fix isxdigit to not accept non-hex characters 2013-03-07 16:46:46 +02:00
avstring.h avstring: Add locale independent versions of some ctype.h functions 2013-03-07 15:16:26 +02:00
avutil.h doxy: add a section about versioning. 2013-05-17 20:26:18 +02:00
base64.c Remove pointless #undefs of previously forbidden functions. 2012-12-04 21:40:22 +01:00
base64.h
blowfish.c Remove pointless #undefs of previously forbidden functions. 2012-12-04 21:40:22 +01:00
blowfish.h
bswap.h
buffer_internal.h AVBuffer: add a new API for buffer pools 2013-03-08 07:33:28 +01:00
buffer.c AVBuffer: add a new API for buffer pools 2013-03-08 07:33:28 +01:00
buffer.h avutil: doxy: Small clarification for av_buffer_create() 2013-04-30 13:33:43 -04:00
channel_layout.c lavu: rename audioconvert.* to channel_layout.* and deprecate audioconvert.h 2012-11-11 13:35:12 -05:00
channel_layout.h lavu: rename audioconvert.* to channel_layout.* and deprecate audioconvert.h 2012-11-11 13:35:12 -05:00
colorspace.h
common.h Use the avstring.h locale-independent character type functions 2013-03-07 15:16:36 +02:00
cpu.c cpu: Restructure code to avoid pointless ret variable indirection 2013-06-02 18:05:08 +02:00
cpu.h Move get_logical_cpus() from lavc/pthread to lavu/cpu. 2013-05-24 09:28:00 +02:00
crc.c crc: Move static data table from header to .c file 2013-02-11 16:48:44 +01:00
crc.h crc: av_crc() parameter names should match between .c, .h and doxygen 2012-11-16 10:38:23 +01:00
des.c Remove pointless #undefs of previously forbidden functions. 2012-12-04 21:40:22 +01:00
des.h
dict.c Use the avstring.h locale-independent character type functions 2013-03-07 15:16:36 +02:00
dict.h dict: add av_dict_parse_string() 2013-01-25 17:20:03 +01:00
error.c avutil: Add AVERROR_EXPERIMENTAL 2012-10-21 22:38:21 +02:00
error.h avutil: Add AVERROR_EXPERIMENTAL 2012-10-21 22:38:21 +02:00
eval.c eval: Explicitly ignore return value of strtod() in parse_db() 2013-07-27 16:00:41 +02:00
eval.h
fifo.c fifo: K&R formatting cosmetics 2013-07-06 14:28:06 +02:00
fifo.h lavu: remove disabled FF_API_AV_FIFO_PEEK cruft 2012-10-23 07:33:05 +02:00
file_open.c libavutil: Move avpriv_open to a new file, file_open.c 2013-08-10 00:53:33 +03:00
file.c libavutil: Move avpriv_open to a new file, file_open.c 2013-08-10 00:53:33 +03:00
file.h
float_dsp.c avutil: Add av_cold attributes to init functions missing them 2013-05-04 22:48:05 +02:00
float_dsp.h float_dsp: Include config.h for redefining restrict 2013-01-23 11:17:32 +02:00
frame.c avframe: have av_frame_get_side_data take const AVFrame* 2013-08-01 09:41:45 +02:00
frame.h avframe: have av_frame_get_side_data take const AVFrame* 2013-08-01 09:41:45 +02:00
hmac.c avutil: Add av_cold attributes to init functions missing them 2013-05-04 22:48:05 +02:00
hmac.h lavu: Add an API for calculating HMAC (RFC 2104) 2013-01-15 11:54:19 +02:00
imgutils.c pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_* 2013-05-15 07:46:51 +02:00
imgutils.h avutil: Rename ff_set_systematic_pal2() ---> avpriv_set_systematic_pal2() 2012-10-13 19:59:20 +02:00
internal.h libavutil: Make avpriv_open a library-internal function on msvcrt 2013-08-10 00:53:33 +03:00
intfloat_readwrite.c
intfloat_readwrite.h
intfloat.h
intmath.c lavu: add av_ctz() for trailing zero bit count 2012-11-05 15:32:29 -05:00
intmath.h lavu: add av_ctz() for trailing zero bit count 2012-11-05 15:32:29 -05:00
intreadwrite.h intreadwrite: Add AV_COPYxxU macros for copying to/from unaligned addresses 2012-10-23 16:54:08 +02:00
lfg.c
lfg.h
libavutil.v Revert "avutil: make some tables visible again" 2012-10-23 07:33:05 +02:00
libm.h libm: add fallbacks for various single-precision functions 2012-10-23 12:00:21 +01:00
lls.c x86: lpc: simd av_update_lls 2013-06-29 13:23:57 +02:00
lls.h x86: lpc: simd av_update_lls 2013-06-29 13:23:57 +02:00
log2_tab.c avutil: Duplicate ff_log2_tab instead of sharing it across libs 2012-10-12 20:39:17 +02:00
log.c log: pass the correct parameters to missing_feature_sample 2013-07-04 21:25:11 +02:00
log.h misc typo, style and wording fixes 2012-12-18 13:36:51 +01:00
lzo.c lzo: fix overflow checking in copy_backptr() 2013-03-15 12:52:31 +01:00
lzo.h avutil: Move memcpy_backptr() to mem.c 2012-10-25 11:36:57 +02:00
Makefile libavutil: Move avpriv_open to a new file, file_open.c 2013-08-10 00:53:33 +03:00
mathematics.c Move av_reverse table to libavcodec 2012-10-12 20:39:18 +02:00
mathematics.h
md5.c Remove pointless #undefs of previously forbidden functions. 2012-12-04 21:40:22 +01:00
md5.h avutil: Add functions for allocating opaque contexts for algorithms 2012-10-11 23:35:27 +03:00
mem.c mem: Add av_realloc_array and av_reallocp_array 2013-06-04 15:04:08 +03:00
mem.h mem: Add av_realloc_array and av_reallocp_array 2013-06-04 15:04:08 +03:00
old_pix_fmts.h vdpau: deprecate old codec-specific pixel formats 2013-08-05 11:16:54 +02:00
opt.c avopt: Check whether the object actually has got an AVClass 2013-07-31 21:31:14 +03:00
opt.h Give less generic names to global library option arrays 2013-08-02 19:19:02 +02:00
parseutils.c Use the avstring.h locale-independent character type functions 2013-03-07 15:16:36 +02:00
parseutils.h
pixdesc.c vdpau: deprecate old codec-specific pixel formats 2013-08-05 11:16:54 +02:00
pixdesc.h Add missing deprecation attributes 2013-07-27 16:08:49 +02:00
pixfmt.h vdpau: deprecate old codec-specific pixel formats 2013-08-05 11:16:54 +02:00
random_seed.c libavutil: use avpriv_open() 2013-08-07 21:12:28 +02:00
random_seed.h
rational.c Remove commented-out #includes 2013-05-15 23:01:21 +02:00
rational.h
rc4.c
rc4.h
samplefmt.c lavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruft 2012-10-23 07:33:05 +02:00
samplefmt.h lavu: remove disabled FF_API_GET_BITS_PER_SAMPLE_FMT cruft 2012-10-23 07:33:05 +02:00
sha.c avutil: Add av_cold attributes to init functions missing them 2013-05-04 22:48:05 +02:00
sha.h avutil: Add functions for allocating opaque contexts for algorithms 2012-10-11 23:35:27 +03:00
time.c
time.h
timer.h
tree.c tree-test: Refactor and plug memory leaks 2013-07-31 18:14:08 +02:00
tree.h tree.h: K&R formatting and typo cosmetics 2013-07-31 18:14:08 +02:00
utils.c
version.h vdpau: deprecate old codec-specific pixel formats 2013-08-05 11:16:54 +02:00
xtea.c Remove pointless #undefs of previously forbidden functions. 2012-12-04 21:40:22 +01:00
xtea.h