[FFmpeg-cvslog] amrnbdec: we dont want dtx samples anymore and give the user a hint towards how to play such files .

Michael Niedermayer git at videolan.org
Tue Jun 28 23:14:31 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jun 28 22:23:52 2011 +0200| [dbe5f0172b4f123b15bc8ada82dd17b13c4bbbd7] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dbe5f0172b4f123b15bc8ada82dd17b13c4bbbd7
---

 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;
     }
 



More information about the ffmpeg-cvslog mailing list