summaryrefslogtreecommitdiffstats
path: root/audio/audio.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-07 22:12:36 +0100
committerwm4 <wm4@nowhere>2013-11-07 22:12:36 +0100
commit91626b1c0606afb9bb582070e8a444a3ba8395ab (patch)
treeae7245c12aae01734bde1c68ab7f2cc26aeb5845 /audio/audio.c
parentaa48eeac9707f7e54468b55226af1188e7d72e30 (diff)
downloadmpv-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/audio.c')
-rw-r--r--audio/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio.c b/audio/audio.c
index e1d3a76978..9d41928436 100644
--- a/audio/audio.c
+++ b/audio/audio.c
@@ -65,7 +65,7 @@ char *mp_audio_fmt_to_str(int srate, const struct mp_chmap *chmap, int format)
{
char *chstr = mp_chmap_to_str(chmap);
char *res = talloc_asprintf(NULL, "%dHz %s %dch %s", srate, chstr,
- chmap->num, af_fmt2str_short(format));
+ chmap->num, af_fmt_to_str(format));
talloc_free(chstr);
return res;
}