diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-06-28 22:23:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-06-28 23:12:56 +0200 |
commit | dbe5f0172b4f123b15bc8ada82dd17b13c4bbbd7 (patch) | |
tree | 993c0d906d55c2f61f0516799b6ac79035f67305 /libavcodec/amrnbdec.c | |
parent | e78f96811247571fe111c38672cfae6074bdb1d4 (diff) | |
download | ffmpeg-streaming-dbe5f0172b4f123b15bc8ada82dd17b13c4bbbd7.zip ffmpeg-streaming-dbe5f0172b4f123b15bc8ada82dd17b13c4bbbd7.tar.gz |
amrnbdec: we dont want dtx samples anymore and give the user a hint towards how to play such files.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/amrnbdec.c')
-rw-r--r-- | libavcodec/amrnbdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/amrnbdec.c b/libavcodec/amrnbdec.c index 55dc8b0..e0b6332 100644 --- a/libavcodec/amrnbdec.c +++ b/libavcodec/amrnbdec.c @@ -936,7 +936,8 @@ static int amrnb_decode_frame(AVCodecContext *avctx, void *data, int *data_size, p->cur_frame_mode = unpack_bitstream(p, buf, buf_size); if (p->cur_frame_mode == MODE_DTX) { - av_log_missing_feature(avctx, "dtx mode", 1); + av_log_missing_feature(avctx, "dtx mode", 0); + av_log(avctx, AV_LOG_INFO, "Note: libopencore_amrnb supports dtx\n"); return -1; } |