Mercurial > libavcodec.hg
diff motion_est.c @ 6917:167bd4bec8d1 libavcodec
Fix return type of ff_init_me().
author | michael |
---|---|
date | Wed, 28 May 2008 01:54:09 +0000 |
parents | 224b51e2c960 |
children | 6aa2f54e6c98 |
line wrap: on
line diff
--- a/motion_est.c Wed May 28 01:34:46 2008 +0000 +++ b/motion_est.c Wed May 28 01:54:09 2008 +0000 @@ -231,7 +231,7 @@ static void zero_hpel(uint8_t *a, const uint8_t *b, int stride, int h){ } -void ff_init_me(MpegEncContext *s){ +int ff_init_me(MpegEncContext *s){ MotionEstContext * const c= &s->me; int cache_size= FFMIN(ME_MAP_SIZE>>ME_MAP_SHIFT, 1<<ME_MAP_SHIFT); int dia_size= FFMAX(FFABS(s->avctx->dia_size)&255, FFABS(s->avctx->pre_dia_size)&255); @@ -303,6 +303,8 @@ } c->temp= c->scratchpad; + + return 0; } #if 0