diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-03-15 21:13:52 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-03-15 22:10:28 +0400 |
commit | a9b424879f101b56cf75c2db889477bba188fe20 (patch) | |
tree | a9e67fe3fba92feaca7bdeb8122ebe2772f339ae /libavformat/avr.c | |
parent | 3d751b1ef6619b20631b17c880aa96f2dd3a11dd (diff) |
lavc & lavf: replace deprecated av_log* functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/avr.c')
-rw-r--r-- | libavformat/avr.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |