summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-05-15 14:49:31 +0200
committerDiego Biurrun <diego@biurrun.de>2013-05-15 23:01:21 +0200
commitbfd00cc4c2f4c1d6671e8a0060008b10336481f4 (patch)
tree5aedb2c84f18c2009ff3654faae4df2de7bd58a2
parentb0696e947f6dda017b0913a642a682b839dfd79c (diff)
downloadffmpeg-streaming-bfd00cc4c2f4c1d6671e8a0060008b10336481f4.zip
ffmpeg-streaming-bfd00cc4c2f4c1d6671e8a0060008b10336481f4.tar.gz
h263dec: Remove broken and disabled debug cruft
-rw-r--r--libavcodec/h263dec.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index e8edad7..014033f 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -40,7 +40,6 @@
#include "mpeg4video.h"
//#define DEBUG
-//#define PRINT_FRAME_TIME
av_cold int ff_h263_decode_init(AVCodecContext *avctx)
{
@@ -349,9 +348,6 @@ int ff_h263_decode_frame(AVCodecContext *avctx,
int ret;
AVFrame *pict = data;
-#ifdef PRINT_FRAME_TIME
-uint64_t time= rdtsc();
-#endif
s->flags= avctx->flags;
s->flags2= avctx->flags2;
@@ -740,10 +736,6 @@ intrax8_decoded:
*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);
}
OpenPOWER on IntegriCloud