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 /stream | |
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 'stream')
-rw-r--r-- | stream/tv.c | 5 |
1 files changed, 2 insertions, 3 deletions
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; } |