Commit 162c4d5e authored by michaelni's avatar michaelni

edge fix


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2053 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c8f76386
...@@ -809,13 +809,8 @@ static inline void get_limits(MpegEncContext *s, int *range, int *xmin, int *ymi ...@@ -809,13 +809,8 @@ static inline void get_limits(MpegEncContext *s, int *range, int *xmin, int *ymi
if (s->unrestricted_mv) { if (s->unrestricted_mv) {
*xmin = -16; *xmin = -16;
*ymin = -16; *ymin = -16;
if(s->avctx->codec->id!=CODEC_ID_MPEG4){ *xmax = s->mb_width*16;
*xmax = s->mb_width*16; *ymax = s->mb_height*16;
*ymax = s->mb_height*16;
}else {
*xmax = s->width;
*ymax = s->height;
}
} else { } else {
*xmin = 0; *xmin = 0;
*ymin = 0; *ymin = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment