summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-07-30 15:30:46 +0200
committerDiego Biurrun <diego@biurrun.de>2016-08-17 12:16:42 +0200
commitf2f145f3032bc8808708a4bd694fbce5f1b8b63c (patch)
tree044525947f0ac98f264d7760346fab301640d751
parentbe1db21ba88fe86036fea9f8d2c1a5f47c2a0a7e (diff)
msmpeg4: Drop disabled debug cruft
-rw-r--r--libavcodec/msmpeg4dec.c7
-rw-r--r--libavcodec/msmpeg4enc.c5
2 files changed, 0 insertions, 12 deletions
diff --git a/libavcodec/msmpeg4dec.c b/libavcodec/msmpeg4dec.c
index 06ae9be365..a2d0ad4294 100644
--- a/libavcodec/msmpeg4dec.c
+++ b/libavcodec/msmpeg4dec.c
@@ -407,13 +407,6 @@ int ff_msmpeg4_decode_picture_header(MpegEncContext * s)
av_log(s->avctx, AV_LOG_ERROR, "invalid picture type\n");
return -1;
}
-#if 0
-{
- static int had_i=0;
- if(s->pict_type == AV_PICTURE_TYPE_I) had_i=1;
- if(!had_i) return -1;
-}
-#endif
s->chroma_qscale= s->qscale = get_bits(&s->gb, 5);
if(s->qscale==0){
av_log(s->avctx, AV_LOG_ERROR, "invalid qscale\n");
diff --git a/libavcodec/msmpeg4enc.c b/libavcodec/msmpeg4enc.c
index 21e38f9856..6d353e5c0a 100644
--- a/libavcodec/msmpeg4enc.c
+++ b/libavcodec/msmpeg4enc.c
@@ -314,11 +314,6 @@ void ff_msmpeg4_encode_motion(MpegEncContext * s,
mx += 32;
my += 32;
-#if 0
- if ((unsigned)mx >= 64 ||
- (unsigned)my >= 64)
- av_log(s->avctx, AV_LOG_ERROR, "error mx=%d my=%d\n", mx, my);
-#endif
mv = &ff_mv_tables[s->mv_table_index];
code = mv->table_mv_index[(mx << 6) | my];