summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-19 16:06:49 +0100
committerClément Bœsch <u@pkh.me>2017-03-19 16:06:49 +0100
commit95a29b1a820503950b8684b2c4242b916b0f29cc (patch)
tree9ce56b60c3d2596822ee5d858dff1058b1ab2a11
parent87cd8dc0b0b2293fddeb94c6c5c12a27ec3874cf (diff)
parentf2f145f3032bc8808708a4bd694fbce5f1b8b63c (diff)
Merge commit 'f2f145f3032bc8808708a4bd694fbce5f1b8b63c'
* commit 'f2f145f3032bc8808708a4bd694fbce5f1b8b63c': msmpeg4: Drop disabled debug cruft Merged-by: Clément Bœsch <u@pkh.me>
-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 b45e7517fc..cf43027a00 100644
--- a/libavcodec/msmpeg4dec.c
+++ b/libavcodec/msmpeg4dec.c
@@ -414,13 +414,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 07241e8913..144468b24f 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];