From 91626b1c0606afb9bb582070e8a444a3ba8395ab Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 7 Nov 2013 22:12:36 +0100 Subject: audio: replace af_fmt2str_short -> af_fmt_to_str Also, remove all af_fmt2str usages. --- stream/tv.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'stream/tv.c') diff --git a/stream/tv.c b/stream/tv.c index dd76230a2e..0e5fe8c22d 100644 --- a/stream/tv.c +++ b/stream/tv.c @@ -762,7 +762,6 @@ static int demux_open_tv(demuxer_t *demuxer, enum demux_check check) if (tvh->tv_param->noaudio == 0 && funcs->control(tvh->priv, TVI_CONTROL_IS_AUDIO, 0) == TVI_CONTROL_TRUE) { int audio_format; - char buf[128]; /* yeah, audio is present */ @@ -785,8 +784,8 @@ static int demux_open_tv(demuxer_t *demuxer, enum demux_check check) break; case AF_FORMAT_MPEG2: default: - mp_tmsg(MSGT_TV, MSGL_ERR, "Audio type '%s (%x)' unsupported!\n", - af_fmt2str(audio_format, buf, 128), audio_format); + mp_tmsg(MSGT_TV, MSGL_ERR, "Audio type '%s' unsupported!\n", + af_fmt_to_str(audio_format)); goto no_audio; } -- cgit v1.2.3