|
|
|
@@ -239,7 +239,8 @@ static av_cold int encode_init(AVCodecContext *avctx) |
|
|
|
ff_set_cmp(&s->dsp, s->dsp.me_cmp, s->avctx->me_cmp); |
|
|
|
ff_set_cmp(&s->dsp, s->dsp.me_sub_cmp, s->avctx->me_sub_cmp); |
|
|
|
|
|
|
|
ff_get_buffer(s->avctx, &s->input_picture); |
|
|
|
if ((ret = ff_get_buffer(s->avctx, &s->input_picture)) < 0) |
|
|
|
return ret; |
|
|
|
|
|
|
|
if(s->avctx->me_method == ME_ITER){ |
|
|
|
int i; |
|
|
|
|