From a9b424879f101b56cf75c2db889477bba188fe20 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 15 Mar 2013 17:13:52 +0000 Subject: lavc & lavf: replace deprecated av_log* functions Signed-off-by: Paul B Mahol --- libavformat/avr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/avr.c') diff --git a/libavformat/avr.c b/libavformat/avr.c index 71a107c3ac..473136ec3c 100644 --- a/libavformat/avr.c +++ b/libavformat/avr.c @@ -51,7 +51,7 @@ static int avr_read_header(AVFormatContext *s) } else if (chan == 0xFFFFu) { st->codec->channels = 2; } else { - av_log_ask_for_sample(s, "unknown number of channels\n"); + avpriv_request_sample(s, "chan %d", chan); return AVERROR_PATCHWELCOME; } @@ -78,7 +78,7 @@ static int avr_read_header(AVFormatContext *s) } else if (sign == 0xFFFFu && bps == 16) { st->codec->codec_id = AV_CODEC_ID_PCM_S16BE; } else { - av_log_ask_for_sample(s, "unknown bits per sample\n"); + avpriv_request_sample(s, "bits per sample %d", bps); return AVERROR_PATCHWELCOME; } -- cgit v1.2.3