Commit b9dcb737 authored by michael's avatar michael

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7344 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c3345fa4
...@@ -119,6 +119,7 @@ static av_always_inline int cmp(MpegEncContext *s, const int x, const int y, con ...@@ -119,6 +119,7 @@ static av_always_inline int cmp(MpegEncContext *s, const int x, const int y, con
int d; int d;
//FIXME check chroma 4mv, (no crashes ...) //FIXME check chroma 4mv, (no crashes ...)
if(flags&FLAG_DIRECT){ 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)){ 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_pp= s->pp_time;
const int time_pb= s->pb_time; const int time_pb= s->pb_time;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment