1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 23:02:37 +00:00
mpv/audio/out
James Ross-Gowan d26ee98fa6 w32: use safe DLL search paths everywhere
Windows applications that use LoadLibrary are vulnerable to DLL
preloading attacks if a malicious DLL with the same name as a system DLL
is placed in the current directory. mpv had some code to avoid this in
ao_wasapi.c. This commit just moves it to main.c, since there's no
reason it can't be used process-wide.

This change can affect how plugins are loaded in AviSynth, but it
shouldn't be a problem since MPC-HC also does this and it's a very
popular AviSynth client.
2014-01-27 10:04:29 +01:00
..
ao_alsa.c ao_alsa: remove 9 year old typo 2014-01-02 21:29:33 +01:00
ao_coreaudio_properties.c ao_coreaudio: move to new log API 2013-08-01 20:32:49 +02:00
ao_coreaudio_properties.h ao_coreaudio: fix compilation on OS X 10.7 2013-07-28 09:48:49 +02:00
ao_coreaudio_utils.c msg: rename mp_msg_log -> mp_msg 2013-12-21 22:13:04 +01:00
ao_coreaudio_utils.h Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
ao_coreaudio.c msg: rename mp_msg_log -> mp_msg 2013-12-21 22:13:04 +01:00
ao_dsound.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
ao_jack.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
ao_lavc.c audio/fmt-conversion.c: remove unknown audio format messages 2013-12-21 20:50:12 +01:00
ao_null.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
ao_openal.c m_option: add mp_log callback to OPT_STRING_VALIDATE options 2013-12-21 21:43:16 +01:00
ao_oss.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
ao_pcm.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
ao_portaudio.c m_option: add mp_log callback to OPT_STRING_VALIDATE options 2013-12-21 21:43:16 +01:00
ao_pulse.c ao_pulse: lower default buffer size from 1000ms to 250ms 2014-01-07 23:52:18 +01:00
ao_rsound.c Move options/config related files from mpvcore/ to options/ 2013-12-17 02:07:57 +01:00
ao_sdl.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
ao_sndio.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
ao_wasapi.c w32: use safe DLL search paths everywhere 2014-01-27 10:04:29 +01:00
ao.c build: fix usage of HAVE_SDL1 define 2014-01-25 09:18:07 +01:00
ao.h Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00