Commit 0f748574 authored by Michael Niedermayer's avatar Michael Niedermayer

lowres slice fix

Originally committed as revision 3516 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f06afd69
......@@ -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