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

Diff of /trunk/xvidcore/src/decoder.c

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

revision 297, Mon Jul 15 23:50:31 2002 UTC revision 306, Thu Jul 18 00:07:04 2002 UTC
# Line 55  Line 55 
55   *  22.12.2001  lock based interpolation   *  22.12.2001  lock based interpolation
56   *  01.12.2001  inital version; (c)2001 peter ross <pross@cs.rmit.edu.au>   *  01.12.2001  inital version; (c)2001 peter ross <pross@cs.rmit.edu.au>
57   *   *
58   *  $Id: decoder.c,v 1.30 2002-07-15 23:50:31 chenm001 Exp $   *  $Id: decoder.c,v 1.31 2002-07-18 00:07:04 chenm001 Exp $
59   *   *
60   *************************************************************************/   *************************************************************************/
61    
# 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.297  
changed lines
  Added in v.306

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