changeset 4318:ad27265d0c15 libavcodec

i think this if() is useless lets abuse our users to test this ;)
author michael
date Thu, 21 Dec 2006 15:21:44 +0000
parents 5a2ee0bc2739
children 8e11023556c3
files motion_est.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/motion_est.c	Thu Dec 21 15:20:02 2006 +0000
+++ b/motion_est.c	Thu Dec 21 15:21:44 2006 +0000
@@ -119,6 +119,7 @@
     int d;
     //FIXME check chroma 4mv, (no crashes ...)
     if(flags&FLAG_DIRECT){
+        assert(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1));
         if(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1)){
             const int time_pp= s->pp_time;
             const int time_pb= s->pb_time;