summaryrefslogtreecommitdiff
path: root/libavformat/omadec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-14 12:41:34 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-14 12:41:34 +0100
commita9ddb624890dd8c334617239793e63d93fbd52ee (patch)
treed1b6919c46a238f1a9c926106cddb0d283badd60 /libavformat/omadec.c
parentfa92ee821bba1d3c2a497ed22e41927b552856f8 (diff)
parent1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e (diff)
Merge commit '1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e'
* commit '1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e': avformat: av_log_ask_for_sample() ---> avpriv_request_sample() Conflicts: libavformat/mxfdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 8d29675c1c..9f65db05e2 100644
--- a/libavformat/omadec.c
+++ b/libavformat/omadec.c
@@ -311,8 +311,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 */