0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/audio
wm4 da662ef182 Fix undefined preprocessor behavior
This commit eliminates the following clang warning:

  warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]

Going by the clang commit message, this seems to be explicitly specified
as UB by the standard, and they added this warning because MSVC
apparently results in different behavior. Whatever, we can just avoid
the warning with some small changes.
2018-01-18 00:25:00 -08:00
..
decode video, audio: don't actively wait for demuxer input 2018-01-09 09:19:56 +01:00
filter af_rubberband: add af-command to multiply current pitch 2018-01-15 23:14:01 -08:00
out Fix undefined preprocessor behavior 2018-01-18 00:25:00 -08:00
aconverter.c audio: add global options for resampler defaults 2018-01-13 03:26:45 -08:00
aconverter.h audio: add global options for resampler defaults 2018-01-13 03:26:45 -08:00
aframe.c aframe: fix logically dead code 2017-10-18 12:11:37 +02:00
aframe.h audio/aframe: add missing include statements 2018-01-13 03:26:45 -08:00
audio_buffer.c audio_buffer: remove dependency on mp_audio 2017-09-21 04:10:19 +02:00
audio_buffer.h audio_buffer: remove dependency on mp_audio 2017-09-21 04:10:19 +02:00
audio.c Get rid of deprecated AVFrame accessors 2017-10-30 13:36:44 +01:00
audio.h audio: make libaf derived code optional 2017-09-21 12:48:30 +02:00
chmap_sel.c audio: use --audio-channels=auto behavior, except on ALSA 2016-08-04 20:49:20 +02:00
chmap_sel.h audio: use --audio-channels=auto behavior, except on ALSA 2016-08-04 20:49:20 +02:00
chmap.c chmap: remove misleading "downmix" channel layout name 2017-06-24 11:36:10 +02:00
chmap.h player: remove special-case for DL/DR speakers 2016-08-04 19:14:35 +02:00
fmt-conversion.c audio/fmt-conversion: change license to LGPL 2017-05-05 07:25:55 +02:00
fmt-conversion.h audio/fmt-conversion: change license to LGPL 2017-05-05 07:25:55 +02:00
format.c audio: make libaf derived code optional 2017-09-21 12:48:30 +02:00
format.h audio: drop AF_FORMAT_S24 2017-07-07 17:56:22 +02:00