diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-04-22 19:41:59 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-04-22 20:12:39 +0200 |
commit | d9dee728b8c50fb6dbff3701e1abcb2eac5895b3 (patch) | |
tree | d8edd5dc0de891aa2f920397f86a044105a8f245 /libavformat/oma.c | |
parent | 44f566b79afcbbb152ec21db667ea3d2f42e8f8d (diff) | |
download | ffmpeg-d9dee728b8c50fb6dbff3701e1abcb2eac5895b3.tar.gz |
Use av_log_ask_for_sample() to request samples from users.
Diffstat (limited to 'libavformat/oma.c')
-rw-r--r-- | libavformat/oma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/oma.c b/libavformat/oma.c index ba8901dfdb..6dd56cf702 100644 --- a/libavformat/oma.c +++ b/libavformat/oma.c @@ -107,7 +107,8 @@ static int oma_read_header(AVFormatContext *s, case OMA_CODECID_ATRAC3: samplerate = srate_tab[(codec_params >> 13) & 7]*100; if (samplerate != 44100) - av_log(s, AV_LOG_ERROR, "Unsupported sample rate, send sample file to developers: %d\n", samplerate); + av_log_ask_for_sample(s, "Unsupported sample rate: %d\n", + samplerate); framesize = (codec_params & 0x3FF) * 8; jsflag = (codec_params >> 17) & 1; /* get stereo coding mode, 1 for joint-stereo */ |