[svn] / branches / dev-api-4 / xvidcore / src / decoder.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/decoder.c

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

revision 1360, Thu Feb 12 15:11:22 2004 UTC revision 1361, Sun Feb 15 13:26:04 2004 UTC
# Line 20  Line 20 
20   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
21   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
22   *   *
23   * $Id: decoder.c,v 1.49.2.31 2004-02-03 02:56:57 syskin Exp $   * $Id: decoder.c,v 1.49.2.32 2004-02-15 13:26:04 syskin Exp $
24   *   *
25   ****************************************************************************/   ****************************************************************************/
26    
# Line 1526  Line 1526 
1526                  dec->frames++;                  dec->frames++;
1527          }          }
1528    
1529          BitstreamByteAlign(&bs);          /* BitstreamByteAlign(&bs); */
1530    
1531          /* low_delay_default mode: repeat in packed_mode */          /* low_delay_default mode: repeat in packed_mode */
1532          if (dec->low_delay_default && dec->packed_mode && output == 0 && success == 0) {          if (dec->low_delay_default && dec->packed_mode && output == 0 && success == 0) {
# Line 1557  Line 1557 
1557          emms();          emms();
1558          stop_global_timer();          stop_global_timer();
1559    
1560          return BitstreamPos(&bs) / 8;   /* number of bytes consumed */          return (BitstreamPos(&bs) + 7) / 8;     /* number of bytes consumed */
1561  }  }

Legend:
Removed from v.1360  
changed lines
  Added in v.1361

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