h263dec: Remove broken and disabled debug cruft

This commit is contained in:
Diego Biurrun
2013-05-15 14:49:31 +02:00
parent b0696e947f
commit bfd00cc4c2

View File

@ -40,7 +40,6 @@
#include "mpeg4video.h" #include "mpeg4video.h"
//#define DEBUG //#define DEBUG
//#define PRINT_FRAME_TIME
av_cold int ff_h263_decode_init(AVCodecContext *avctx) av_cold int ff_h263_decode_init(AVCodecContext *avctx)
{ {
@ -349,9 +348,6 @@ int ff_h263_decode_frame(AVCodecContext *avctx,
int ret; int ret;
AVFrame *pict = data; AVFrame *pict = data;
#ifdef PRINT_FRAME_TIME
uint64_t time= rdtsc();
#endif
s->flags= avctx->flags; s->flags= avctx->flags;
s->flags2= avctx->flags2; s->flags2= avctx->flags2;
@ -740,10 +736,6 @@ intrax8_decoded:
*got_frame = 1; *got_frame = 1;
} }
#ifdef PRINT_FRAME_TIME
av_log(avctx, AV_LOG_DEBUG, "%"PRId64"\n", rdtsc()-time);
#endif
return (ret && (avctx->err_recognition & AV_EF_EXPLODE))?ret:get_consumed_bytes(s, buf_size); return (ret && (avctx->err_recognition & AV_EF_EXPLODE))?ret:get_consumed_bytes(s, buf_size);
} }