From b0c73ba11f8069224a5627cf453671f5ad4b1a82 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Wed, 7 Jul 2010 12:27:44 +0000 Subject: motion_est: fix implicit truncation warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Reimar Döffinger and Eli Friedman (independently). Originally committed as revision 24083 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/motion_est.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'libavcodec') diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c index 82a36d0032..50078f93cf 100644 --- a/libavcodec/motion_est.c +++ b/libavcodec/motion_est.c @@ -1476,6 +1476,7 @@ static inline int bidir_refine(MpegEncContext * s, int mb_x, int mb_y) const int xmax= c->xmax<ymax<