Browse Source

lowres slice fix

Originally committed as revision 3516 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 21 years ago
parent
commit
0f74857497
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mpegvideo.c

+ 1
- 1
libavcodec/mpegvideo.c View File

@@ -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;


Loading…
Cancel
Save