core: avoid using build_afilter_chain() directly
commit21df1d5ec5681c744ba8679c8484c3e451d36f13
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Fri, 26 Nov 2010 20:52:35 +0000 (26 20:52 +0000)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Thu, 16 Dec 2010 02:47:15 +0000 (16 04:47 +0200)
tree5ec4100a1f93311d3531a34a621658fc4b6666c3
parenta9b5a9348d51465167c0907a2913f6f14ad28d00
core: avoid using build_afilter_chain() directly

build_afilter_chain is not safe to use directly, thus make it
static and instead use reinit_audio_chain which should have
better error handling.
Fixes a crash with -af hrtf and changing speed, audio will
still stop playing though.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32648 b3059339-0415-0410-9bf9-f77b7e298cf2
command.c
mp_core.h
mplayer.c