diff options
author | wm4 <wm4@nowhere> | 2013-05-13 00:38:35 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-13 00:39:07 +0200 |
commit | 279f4b59dc08950a90379ef5905736167c79a438 (patch) | |
tree | dd00ee2e8fe1ae2476e3350574ed364c593b4da0 /audio/out/ao_alsa.c | |
parent | 35c8f7b6082871d690c4355d5173dde939bf60ec (diff) | |
download | mpv-279f4b59dc08950a90379ef5905736167c79a438.tar.bz2 mpv-279f4b59dc08950a90379ef5905736167c79a438.tar.xz |
audio: fix compilation with older libavresample versions
The libavresample version of the current Libav stable release lacks the
avresample_set_channel_mapping() function. (FFmpeg's libswresample seems
to be fine, because they added swr_set_channel_mapping() first.)
Add a cheap/slow workaround to do channel reordering on our own. We
don't use the recently removed MPlayer code (see commit 586b75a),
because that is not generic enough.
The functionality should be the same as with full-featured
libavresample, and any differences are bugs. It's probably slower,
though.
Diffstat (limited to 'audio/out/ao_alsa.c')
0 files changed, 0 insertions, 0 deletions