mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-12 02:14:56 +02:00
avcodec/motion_est: Set subcmp consistently for H261
Fixes Ticket3150 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
3aefa1eb69
commit
b80106169a
@ -321,6 +321,9 @@ int ff_init_me(MpegEncContext *s){
|
||||
|
||||
c->avctx= s->avctx;
|
||||
|
||||
if(s->codec_id == AV_CODEC_ID_H261)
|
||||
c->avctx->me_sub_cmp = c->avctx->me_cmp;
|
||||
|
||||
if(cache_size < 2*dia_size && !c->stride){
|
||||
av_log(s->avctx, AV_LOG_INFO, "ME_MAP size may be a little small for the selected diamond size\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user