[SCM] libav/experimental: i think this if() is useless lets abuse our users to test this ; )
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:54:23 UTC 2013
The following commit has been merged in the experimental branch:
commit 3b9cf3bdb3d7343915ed313ff68b26a26c1540ec
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Thu Dec 21 15:21:44 2006 +0000
i think this if() is useless lets abuse our users to test this ;)
Originally committed as revision 7344 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c
index a5d5e57..3fb0d5f 100644
--- a/libavcodec/motion_est.c
+++ b/libavcodec/motion_est.c
@@ -119,6 +119,7 @@ static av_always_inline int cmp(MpegEncContext *s, const int x, const int y, con
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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list