提交 cf48e6f8 编写于 作者: M Michael Niedermayer

edge fix

Originally committed as revision 2053 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 6674a126
......@@ -809,13 +809,8 @@ static inline void get_limits(MpegEncContext *s, int *range, int *xmin, int *ymi
if (s->unrestricted_mv) {
*xmin = -16;
*ymin = -16;
if(s->avctx->codec->id!=CODEC_ID_MPEG4){
*xmax = s->mb_width*16;
*ymax = s->mb_height*16;
}else {
*xmax = s->width;
*ymax = s->height;
}
*xmax = s->mb_width*16;
*ymax = s->mb_height*16;
} else {
*xmin = 0;
*ymin = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册