amrnbdec: we dont want dtx samples anymore and give the user a hint towards how to...
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Jun 2011 20:23:52 +0000 (22:23 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Jun 2011 21:12:56 +0000 (23:12 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/amrnbdec.c

index 55dc8b0..e0b6332 100644 (file)
@@ -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;
     }