[cvs] / xvidcore / src / encoder.c Repository:
ViewVC logotype

Diff of /xvidcore/src/encoder.c

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

revision 1.76.2.16, Thu Nov 7 10:28:15 2002 UTC revision 1.76.2.17, Mon Nov 11 20:53:34 2002 UTC
# Line 981  Line 981 
981                   * NB : sequences like "IIBB" decode fine with msfdam but,                   * NB : sequences like "IIBB" decode fine with msfdam but,
982                   *      go screwy with divx 5.00                   *      go screwy with divx 5.00
983                   */                   */
984          } else if (pEnc->bframenum_tail >= pEnc->mbParam.max_bframes || mode != 0) {          } else if ((pEnc->bframenum_tail >= pEnc->mbParam.max_bframes) || (mode != 0)) {
985    
986                  /*                  /*
987                   * This will be coded as a Predicted Frame                   * This will be coded as a Predicted Frame
988                   */                   */
# Line 998  Line 999 
999                  pFrame->intra = 0;                  pFrame->intra = 0;
1000                  pEnc->flush_bframes = 1;                  pEnc->flush_bframes = 1;
1001    
1002                  if ((pEnc->global & XVID_GLOBAL_PACKED)) {                  if ((pEnc->global & XVID_GLOBAL_PACKED) && (pEnc->bframenum_tail > 0)) {
1003                          BitstreamPadAlways(&bs);                          BitstreamPadAlways(&bs);
1004                          input_valid = 0;                          input_valid = 0;
1005                          goto ipvop_loop;                          goto ipvop_loop;

Legend:
Removed from v.1.76.2.16  
changed lines
  Added in v.1.76.2.17

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