[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.95.2.7, Sat Mar 15 17:03:17 2003 UTC revision 1.95.2.8, Sat Mar 15 17:06:53 2003 UTC
# Line 1119  Line 1119 
1119    
1120                  // place this frame back on the encoding-queue (head)                  // place this frame back on the encoding-queue (head)
1121                  // we will deal with it next time                  // we will deal with it next time
1122            dec_frame_num(pEnc);
1123            pEnc->iFrameNum--;
1124    
1125                  pEnc->queue_head = (pEnc->queue_head + (pEnc->mbParam.max_bframes+1) - 1) % (pEnc->mbParam.max_bframes+1);                  pEnc->queue_head = (pEnc->queue_head + (pEnc->mbParam.max_bframes+1) - 1) % (pEnc->mbParam.max_bframes+1);
1126          pEnc->queue_size++;          pEnc->queue_size++;
1127                  image_swap(&pEnc->current->image, &pEnc->queue[pEnc->queue_head].image);                  image_swap(&pEnc->current->image, &pEnc->queue[pEnc->queue_head].image);
1128    
         dec_frame_num(pEnc);  
         pEnc->iFrameNum--;  
   
1129                  // grab the last frame from the bframe-queue                  // grab the last frame from the bframe-queue
1130    
1131                  pEnc->bframenum_tail--;                  pEnc->bframenum_tail--;

Legend:
Removed from v.1.95.2.7  
changed lines
  Added in v.1.95.2.8

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