From 1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 25 Feb 2013 23:54:28 +0100 Subject: avformat: av_log_ask_for_sample() ---> avpriv_request_sample() --- libavformat/westwood_aud.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/westwood_aud.c') diff --git a/libavformat/westwood_aud.c b/libavformat/westwood_aud.c index 2a06c2952b..c3f8e6e34d 100644 --- a/libavformat/westwood_aud.c +++ b/libavformat/westwood_aud.c @@ -104,7 +104,7 @@ static int wsaud_read_header(AVFormatContext *s) switch (codec) { case 1: if (channels != 1) { - av_log_ask_for_sample(s, "Stereo WS-SND1 is not supported.\n"); + avpriv_request_sample(s, "Stereo WS-SND1"); return AVERROR_PATCHWELCOME; } st->codec->codec_id = AV_CODEC_ID_WESTWOOD_SND1; @@ -115,7 +115,7 @@ static int wsaud_read_header(AVFormatContext *s) st->codec->bit_rate = channels * sample_rate * 4; break; default: - av_log_ask_for_sample(s, "Unknown codec: %d\n", codec); + avpriv_request_sample(s, "Unknown codec: %d", codec); return AVERROR_PATCHWELCOME; } avpriv_set_pts_info(st, 64, 1, sample_rate); -- cgit v1.2.3