1
mirror of https://github.com/mpv-player/mpv synced 2024-08-20 08:55:06 +02:00
mpv/audio
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
..
decode Factor out setting AVCodecContext extradata 2014-01-11 01:25:49 +01:00
filter audio/filter: remove redundant log message prefixes 2014-01-24 21:30:15 +01:00
out w32: use safe DLL search paths everywhere 2014-01-27 10:04:29 +01:00
audio_buffer.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
audio_buffer.h audio: add mp_audio_buffer 2013-11-12 23:28:21 +01:00
audio.c audio: check for overflows 2014-01-03 00:42:40 +01:00
audio.h audio: better rejection of invalid formats 2013-11-27 00:16:05 +01:00
chmap_sel.c ao_jack: allow more control about channel layouts 2013-07-07 18:37:55 +02:00
chmap_sel.h audio: add channel map selection function 2013-05-12 21:24:57 +02:00
chmap.c m_option, m_config: mp_msg conversions 2013-12-21 21:05:02 +01:00
chmap.h m_option, m_config: mp_msg conversions 2013-12-21 21:05:02 +01:00
fmt-conversion.c audio: fix format ID conversion 2013-12-23 21:24:41 +01:00
fmt-conversion.h ad_lavc: use fmt-conversion to map sample formats 2013-04-13 04:21:27 +02:00
format.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
format.h Reduce recursive config.h inclusions in headers 2013-12-18 17:12:21 +01:00
mixer.c mixer: mp_msg conversions 2013-12-21 20:50:11 +01:00
mixer.h mixer: mp_msg conversions 2013-12-21 20:50:11 +01:00
reorder_ch.c ao_lavc: support non-interleaved audio 2013-11-13 20:10:17 +01:00
reorder_ch.h ao_lavc: support non-interleaved audio 2013-11-13 20:10:17 +01:00