summaryrefslogtreecommitdiff
path: root/libavformat/omadec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-25 23:54:28 +0100
committerDiego Biurrun <diego@biurrun.de>2013-03-13 20:42:21 +0100
commit1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e (patch)
treedde426a2250d3b95a4f2d8560272ca6687fbd55b /libavformat/omadec.c
parent63d744e2be39466e3a734c2987cd713e0bac101e (diff)
avformat: av_log_ask_for_sample() ---> avpriv_request_sample()
Diffstat (limited to 'libavformat/omadec.c')
-rw-r--r--libavformat/omadec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/omadec.c b/libavformat/omadec.c
index 2e565c1716..6d6d311a81 100644
--- a/libavformat/omadec.c
+++ b/libavformat/omadec.c
@@ -306,8 +306,7 @@ static int oma_read_header(AVFormatContext *s)
case OMA_CODECID_ATRAC3:
samplerate = ff_oma_srate_tab[(codec_params >> 13) & 7]*100;
if (samplerate != 44100)
- av_log_ask_for_sample(s, "Unsupported sample rate: %d\n",
- samplerate);
+ avpriv_request_sample(s, "Sample rate %d", samplerate);
framesize = (codec_params & 0x3FF) * 8;
jsflag = (codec_params >> 17) & 1; /* get stereo coding mode, 1 for joint-stereo */