svq3 b frame slices fix

Originally committed as revision 2065 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2003-07-18 11:47:14 +00:00
parent 7a06ff148d
commit 42928ccbc2

View File

@ -2730,7 +2730,7 @@ void ff_draw_horiz_band(MpegEncContext *s, int y, int h){
int offset[4];
h= FFMIN(h, s->height - y);
if(s->pict_type==B_TYPE && s->picture_structure == PICT_FRAME){
if(s->pict_type==B_TYPE && s->picture_structure == PICT_FRAME && s->out_format != FMT_H264){
offset[0]=
offset[1]=
offset[2]=