diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-11-26 20:52:35 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-12-16 04:47:15 +0200 |
commit | 21df1d5ec5681c744ba8679c8484c3e451d36f13 (patch) | |
tree | 5ec4100a1f93311d3531a34a621658fc4b6666c3 /mp_core.h | |
parent | a9b5a9348d51465167c0907a2913f6f14ad28d00 (diff) | |
download | mpv-21df1d5ec5681c744ba8679c8484c3e451d36f13.tar.bz2 mpv-21df1d5ec5681c744ba8679c8484c3e451d36f13.tar.xz |
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
Diffstat (limited to 'mp_core.h')
-rw-r--r-- | mp_core.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -208,7 +208,6 @@ extern int file_filter; extern int forced_subs_only; struct ao_data; -int build_afilter_chain(struct MPContext *mpctx, struct sh_audio *sh_audio, struct ao_data *ao_data); void uninit_player(struct MPContext *mpctx, unsigned int mask); void reinit_audio_chain(struct MPContext *mpctx); void init_vo_spudec(struct MPContext *mpctx); |