diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-02-26 02:54:28 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-03-13 23:42:21 +0400 |
commit | 1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e (patch) | |
tree | dde426a2250d3b95a4f2d8560272ca6687fbd55b /libavformat/westwood_aud.c | |
parent | 63d744e2be39466e3a734c2987cd713e0bac101e (diff) |
avformat: av_log_ask_for_sample() ---> avpriv_request_sample()
Diffstat (limited to 'libavformat/westwood_aud.c')
-rw-r--r-- | libavformat/westwood_aud.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |