Mercurial > libavcodec.hg
diff motion_est.c @ 847:f3c369b8ddca libavcodec
reversing header game
MIN/MAX -> FFMIN/FFMAX
author | michaelni |
---|---|
date | Sun, 10 Nov 2002 11:46:59 +0000 |
parents | 79de6308c34d |
children | eacc2dd8fd9d |
line wrap: on
line diff
--- a/motion_est.c Sun Nov 10 11:24:27 2002 +0000 +++ b/motion_est.c Sun Nov 10 11:46:59 2002 +0000 @@ -1600,8 +1600,8 @@ i= y*s->mb_width; for(x=0; x<s->mb_width; x++){ if(s->mb_type[i] & type){ - int fcode= MAX(fcode_tab[mv_table[xy][0] + MAX_MV], - fcode_tab[mv_table[xy][1] + MAX_MV]); + int fcode= FFMAX(fcode_tab[mv_table[xy][0] + MAX_MV], + fcode_tab[mv_table[xy][1] + MAX_MV]); int j; for(j=0; j<fcode && j<8; j++){