summaryrefslogtreecommitdiff
path: root/libavcodec/mpc7.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-03-13 21:17:05 +0100
committerDiego Biurrun <diego@biurrun.de>2013-03-13 21:20:12 +0100
commit6d97484d72e33f7dde9493a9ead1a72e2f029605 (patch)
tree55dd3090fc63aaf22da92145fe8310cfe0cf9c78 /libavcodec/mpc7.c
parent1ae07959ab39a96eee6496b418f377f9085ce4a5 (diff)
avcodec: av_log_ask_for_sample() ---> avpriv_request_sample()
Diffstat (limited to 'libavcodec/mpc7.c')
-rw-r--r--libavcodec/mpc7.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mpc7.c b/libavcodec/mpc7.c
index 4ebb254107..1aed52b8a0 100644
--- a/libavcodec/mpc7.c
+++ b/libavcodec/mpc7.c
@@ -65,8 +65,7 @@ static av_cold int mpc7_decode_init(AVCodecContext * avctx)
/* Musepack SV7 is always stereo */
if (avctx->channels != 2) {
- av_log_ask_for_sample(avctx, "Unsupported number of channels: %d\n",
- avctx->channels);
+ avpriv_request_sample(avctx, "%d channels", avctx->channels);
return AVERROR_PATCHWELCOME;
}