ffmpeg/libavdevice
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
..
Makefile libavutil: Make avpriv_open a library-internal function on msvcrt 2013-08-10 00:53:33 +03:00
alldevices.c
alsa-audio-common.c
alsa-audio-dec.c
alsa-audio-enc.c
alsa-audio.h
avdevice.c
avdevice.h
bktr.c bktr: Changed a missed occurrance of open into avpriv_open 2013-08-10 00:53:32 +03:00
dv1394.c libavdevice: use avpriv_open() 2013-08-07 21:16:05 +02:00
dv1394.h
fbdev.c libavdevice: use avpriv_open() 2013-08-07 21:16:05 +02:00
file_open.c libavutil: Make avpriv_open a library-internal function on msvcrt 2013-08-10 00:53:33 +03:00
jack_audio.c
libavdevice.v
libcdio.c
libdc1394.c
oss_audio.c libavdevice: use avpriv_open() 2013-08-07 21:16:05 +02:00
pulse.c
sndio_common.c
sndio_common.h
sndio_dec.c
sndio_enc.c
timefilter.c
timefilter.h
v4l2.c libavdevice: use avpriv_open() 2013-08-07 21:16:05 +02:00
version.h
vfwcap.c
x11grab.c