[svn] / branches / release-1_0-branch / xvidcore / src / encoder.c Repository:
ViewVC logotype

Diff of /branches/release-1_0-branch/xvidcore/src/encoder.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1405, Sun Apr 4 03:07:11 2004 UTC revision 1407, Sun Apr 4 11:49:36 2004 UTC
# Line 21  Line 21 
21   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
22   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
23   *   *
24   * $Id: encoder.c,v 1.102.2.4 2004-04-04 03:07:11 syskin Exp $   * $Id: encoder.c,v 1.102.2.5 2004-04-04 11:49:36 syskin Exp $
25   *   *
26   ****************************************************************************/   ****************************************************************************/
27    
# Line 1857  Line 1857 
1857  #endif  #endif
1858          if (current->sStat.kblks + current->sStat.mblks <=          if (current->sStat.kblks + current->sStat.mblks <=
1859                  (pParam->frame_drop_ratio * mb_width * mb_height) / 100 &&                  (pParam->frame_drop_ratio * mb_width * mb_height) / 100 &&
1860                  ( (pEnc->bframenum_head >= pEnc->bframenum_tail) || !(pEnc->mbParam.global_flags & XVID_GLOBAL_CLOSED_GOP)) )                  pEnc->mbParam.max_bframes == 0)
1861          {          {
1862                  current->sStat.kblks = current->sStat.mblks = 0;                  current->sStat.kblks = current->sStat.mblks = 0;
1863                  current->sStat.ublks = mb_width * mb_height;                  current->sStat.ublks = mb_width * mb_height;

Legend:
Removed from v.1405  
changed lines
  Added in v.1407

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4