Mercurial > libavcodec.hg
diff motion_est.c @ 1057:bb5de8a59da8 libavcodec
* static,const,compiler warning cleanup
author | kabi |
---|---|
date | Mon, 10 Feb 2003 09:35:32 +0000 |
parents | f07fd48c23d4 |
children | b32afefe7d33 |
line wrap: on
line diff
--- a/motion_est.c Sun Feb 09 16:58:47 2003 +0000 +++ b/motion_est.c Mon Feb 10 09:35:32 2003 +0000 @@ -61,8 +61,8 @@ }Minima; static int minima_cmp(const void *a, const void *b){ - Minima *da = (Minima *) a; - Minima *db = (Minima *) b; + const Minima *da = (const Minima *) a; + const Minima *db = (const Minima *) b; return da->height - db->height; } @@ -1193,7 +1193,7 @@ return dmin; } -int ff_estimate_motion_b(MpegEncContext * s, +static int ff_estimate_motion_b(MpegEncContext * s, int mb_x, int mb_y, int16_t (*mv_table)[2], Picture *picture, int f_code) { int mx, my, range, dmin;