diff options
author | wm4 <wm4@nowhere> | 2018-01-29 06:18:33 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-01-30 03:10:27 -0800 |
commit | 76e7e78ce989aad546310b9808cf7f96f23a281f (patch) | |
tree | e4432df6f925d2a1f9e5022373d359b626d9ea09 /player/main.c | |
parent | 054c02ad64a62dd8393bde0fd73edeaa71048722 (diff) | |
download | mpv-76e7e78ce989aad546310b9808cf7f96f23a281f.tar.bz2 mpv-76e7e78ce989aad546310b9808cf7f96f23a281f.tar.xz |
audio: move to decoder wrapper
Use the decoder wrapper that was introduced for video. This removes all
code duplication the old audio decoder wrapper had with the video code.
(The audio wrapper was copy pasted from the video one over a decade ago,
and has been kept in sync ever since by the power of copy&paste. Since
the original copy&paste was possibly done by someone who did not answer
to the LGPL relicensing, this should also remove all doubts about
whether any of this code is left, since we now completely remove any
code that could possibly have been based on it.)
There is some complication with spdif handling, and a minor behavior
change (it will restrict the list of codecs to spdif if spdif is to be
used), but there should not be any difference in practice.
Diffstat (limited to 'player/main.c')
-rw-r--r-- | player/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/player/main.c b/player/main.c index 98abbc8e4f..711b413735 100644 --- a/player/main.c +++ b/player/main.c @@ -50,7 +50,6 @@ #include "options/path.h" #include "input/input.h" -#include "audio/decode/dec_audio.h" #include "audio/out/ao.h" #include "demux/demux.h" #include "stream/stream.h" |