Originally committed as revision 766 to svn://svn.ffmpeg.org/ffmpeg/trunk
height = (s->height+15)&~15;
linesize= s->linesize;
} else {
+ if(s->flags&CODEC_FLAG_GRAY) break;
width = (s->width/4+15)&~15;
height = (s->height/4+15)&~15;
linesize= s->uvlinesize;
avctx->mbskip_table= s->mbskip_table;
avctx->pix_fmt = PIX_FMT_YUV410P;
avctx->has_b_frames= s->has_b_frames=1; // not true, but DP frames and these behave like unidirectional b frames
+ s->flags= avctx->flags;
if (MPV_common_init(s) < 0) return -1;
return 0;
}