Mercurial > mplayer.hg
diff command.c @ 32664:6d08af681d54
Factorize ROUND() redefinitions macro.
author | cboesch |
---|---|
date | Mon, 03 Jan 2011 19:39:31 +0000 |
parents | 0c5bb45690ea |
children | abcf963fbd2c |
line wrap: on
line diff
--- a/command.c Mon Jan 03 18:37:45 2011 +0000 +++ b/command.c Mon Jan 03 19:39:31 2011 +0000 @@ -70,8 +70,6 @@ #include "libavutil/avstring.h" #include "edl.h" -#define ROUND(x) ((int)((x)<0 ? (x)-0.5 : (x)+0.5)) - static void rescale_input_coordinates(int ix, int iy, double *dx, double *dy) { //remove the borders, if any, and rescale to the range [0,1],[0,1]