[FFmpeg-soc] [soc]: r231 - amr/amrnbdec.c

superdump subversion at mplayerhq.hu
Tue Jun 5 15:12:22 CEST 2007


Author: superdump
Date: Tue Jun  5 15:12:22 2007
New Revision: 231

Log:
Remove old debug code

Modified:
   amr/amrnbdec.c

Modified: amr/amrnbdec.c
==============================================================================
--- amr/amrnbdec.c	(original)
+++ amr/amrnbdec.c	Tue Jun  5 15:12:22 2007
@@ -35,8 +35,6 @@
 #include "bitstream.h"
 #include "amrdata.h"
 
-// #define DEBUG_BITSTREAM // FIXME - remove
-
 typedef struct AMRContext {
 
     GetBitContext                        gb;
@@ -127,17 +125,6 @@ static int amrnb_decode_frame(AVCodecCon
     const int16_t *homing_frame;             // pointer to the homing frame
     int homing_frame_size;                   // homing frame size
 
-// FIXME - remove
-#ifdef DEBUG_BITSTREAM
-    init_get_bits(&p->gb, buf, buf_size*8);
-    av_log(NULL, AV_LOG_ERROR, "\n\n\nBits from one frame (%d):\n", buf_size*8);
-    for(i=0; i<buf_size*8; i++) {
-        av_log(NULL, AV_LOG_ERROR, "%d",get_bits1(&p->gb));
-    }
-    av_log(NULL, AV_LOG_ERROR, "\n\n\n");
-    return -1;
-#endif // DEBUG_BITSTREAM
-
     // decode the bitstream to amr parameters
     p->cur_frame_mode = decode_bitstream(avctx, buf, buf_size, &speech_mode);
 



More information about the FFmpeg-soc mailing list