<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">ÔÚ 2013-10-13 04:05:38£¬"Steve Borho" <steve@borho.org> дµÀ£º<BR>
<BLOCKQUOTE id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV dir="ltr">
<DIV class="gmail_extra">
<DIV class="gmail_quote">
<BLOCKQUOTE class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> m_rdSbacCoders[depth][ciIdx] = new TEncSbac;<BR>- m_binCodersCABAC[depth][ciIdx] = new TEncBinCABACCounter;<BR>+ m_binCodersCABAC[depth][ciIdx] = new TEncBinCABAC;<BR>+ m_binCodersCABAC[depth][ciIdx]->m_isCounter = true;<BR></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>this would be a lot cleaner to me if the TEncBinCABAC constructor took a (bool bIsCounter) argument.</DIV>
<DIV> </DIV>
<DIV>I want to convert the class to struct in future, so I direct assign, I will use constructor now.</DIV>
<DIV> </DIV></DIV></DIV></DIV></BLOCKQUOTE></div>