[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.90.2.1, Mon Mar 17 23:09:27 2003 UTC revision 1.90.2.3, Mon Jul 28 12:39:23 2003 UTC
# Line 210  Line 210 
210          /* 1 keyframe each 10 seconds */          /* 1 keyframe each 10 seconds */
211    
212          if (pParam->max_key_interval <= 0)          if (pParam->max_key_interval <= 0)
213                  pParam->max_key_interval = 10 * pParam->fincr / pParam->fbase;                  pParam->max_key_interval = 10 * pParam->fbase / pParam->fincr;
214    
215          pEnc = (Encoder *) xvid_malloc(sizeof(Encoder), CACHE_LINE);          pEnc = (Encoder *) xvid_malloc(sizeof(Encoder), CACHE_LINE);
216          if (pEnc == NULL)          if (pEnc == NULL)
# Line 550  Line 550 
550           * BitstreamPutBits(&bs, 0xFFFF, 16);           * BitstreamPutBits(&bs, 0xFFFF, 16);
551           * BitstreamPutBits(&bs, 0xFFFF, 16);           * BitstreamPutBits(&bs, 0xFFFF, 16);
552           */           */
553          BitstreamPad(&bs);          BitstreamPadAlways(&bs); /* next_start_code() at the end of Video Object Plane */
554          pFrame->length = BitstreamLength(&bs);          pFrame->length = BitstreamLength(&bs);
555    
556          if (pResult) {          if (pResult) {

Legend:
Removed from v.1.90.2.1  
changed lines
  Added in v.1.90.2.3

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