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

Diff of /xvidcore/src/decoder.c

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

revision 1.30, Mon Jul 15 23:50:31 2002 UTC revision 1.31, Thu Jul 18 00:07:04 2002 UTC
# Line 1367  Line 1367 
1367          if (vop_type == I_VOP || vop_type == P_VOP) {          if (vop_type == I_VOP || vop_type == P_VOP) {
1368                  image_swap(&dec->refn[0], &dec->refn[1]);                  image_swap(&dec->refn[0], &dec->refn[1]);
1369                  image_swap(&dec->cur, &dec->refn[0]);                  image_swap(&dec->cur, &dec->refn[0]);
1370    
1371                  // swap MACROBLOCK                  // swap MACROBLOCK
1372                  if (!dec->low_delay && vop_type == P_VOP)                  // the Divx will not set the low_delay flage some times
1373                    // so follow code will wrong to not swap at that time
1374                    // this will broken bitstream! so I'm change it,
1375                    // But that is not the best way! can anyone tell me how
1376                    // to do another way?
1377                    // 18-07-2002   MinChen<chenm001@163.com>
1378                    //if (!dec->low_delay && vop_type == P_VOP)
1379                    if (vop_type == P_VOP)
1380                          mb_swap(&dec->mbs, &dec->last_mbs);                          mb_swap(&dec->mbs, &dec->last_mbs);
1381          }          }
1382    

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

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