[Ffmpeg-cvslog] r7344 - trunk/libavcodec/motion_est.c

michael subversion
Thu Dec 21 16:21:44 CET 2006


Author: michael
Date: Thu Dec 21 16:21:44 2006
New Revision: 7344

Modified:
   trunk/libavcodec/motion_est.c

Log:
i think this if() is useless lets abuse our users to test this ;)


Modified: trunk/libavcodec/motion_est.c
==============================================================================
--- trunk/libavcodec/motion_est.c	(original)
+++ trunk/libavcodec/motion_est.c	Thu Dec 21 16:21:44 2006
@@ -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;




More information about the ffmpeg-cvslog mailing list