diff options
author | wm4 <wm4@nowhere> | 2013-11-07 22:12:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-07 22:12:36 +0100 |
commit | 91626b1c0606afb9bb582070e8a444a3ba8395ab (patch) | |
tree | ae7245c12aae01734bde1c68ab7f2cc26aeb5845 /audio/filter/af_bs2b.c | |
parent | aa48eeac9707f7e54468b55226af1188e7d72e30 (diff) | |
download | mpv-91626b1c0606afb9bb582070e8a444a3ba8395ab.tar.bz2 mpv-91626b1c0606afb9bb582070e8a444a3ba8395ab.tar.xz |
audio: replace af_fmt2str_short -> af_fmt_to_str
Also, remove all af_fmt2str usages.
Diffstat (limited to 'audio/filter/af_bs2b.c')
-rw-r--r-- | audio/filter/af_bs2b.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/audio/filter/af_bs2b.c b/audio/filter/af_bs2b.c index aa92b8be23..0e77b3e4eb 100644 --- a/audio/filter/af_bs2b.c +++ b/audio/filter/af_bs2b.c @@ -74,7 +74,6 @@ static int control(struct af_instance *af, int cmd, void *arg) switch (cmd) { case AF_CONTROL_REINIT: { int format; - char buf[256]; // Sanity check if (!arg) return AF_ERROR; @@ -150,7 +149,7 @@ static int control(struct af_instance *af, int cmd, void *arg) } bs2b_set_srate(s->filter, (long)af->data->rate); mp_msg(MSGT_AFILTER, MSGL_V, "[bs2b] using format %s\n", - af_fmt2str(af->data->format,buf,256)); + af_fmt_to_str(af->data->format)); return af_test_output(af,(struct mp_audio*)arg); } |