Commit 5969dfca authored by michael's avatar michael

lowres slice fix


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3516 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 90456318
......@@ -3702,7 +3702,7 @@ void ff_draw_horiz_band(MpegEncContext *s, int y, int h){
if(s->first_field && !(s->avctx->slice_flags&SLICE_FLAG_ALLOW_FIELD)) return;
}
h= FFMIN(h, s->height - y);
h= FFMIN(h, (s->height>>s->avctx->lowres) - y);
if(s->pict_type==B_TYPE || s->low_delay || (s->avctx->slice_flags&SLICE_FLAG_CODED_ORDER))
src= (AVFrame*)s->current_picture_ptr;
......
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