[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 1890, Tue Aug 10 14:17:40 2010 UTC revision 1905, Fri Nov 12 10:10:40 2010 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.82 2010-08-10 14:17:23 Isibaar Exp $   * $Id: decoder.c,v 1.84 2010-11-12 10:10:40 Isibaar Exp $
24   *   *
25   ****************************************************************************/   ****************************************************************************/
26    
# Line 199  Line 199 
199    
200    if (create->fourcc == ((int)('X')|((int)('V')<<8)|    if (create->fourcc == ((int)('X')|((int)('V')<<8)|
201                           ((int)('I')<<16)|((int)('D')<<24))) { /* XVID */                           ((int)('I')<<16)|((int)('D')<<24))) { /* XVID */
202      dec->bs_version = 1; /* Initially assume oldest xvid version */      dec->bs_version = 0; /* Initially assume oldest xvid version */
203    }    }
204    else {    else {
205          dec->bs_version = 0xffff; /* Initialize to very high value -> assume bugfree stream */          dec->bs_version = 0xffff; /* Initialize to very high value -> assume bugfree stream */
# Line 1660  Line 1660 
1660      goto repeat;      goto repeat;
1661    }    }
1662    
1663    dec->p_bmv.x = dec->p_bmv.y = dec->p_fmv.y = dec->p_fmv.y = 0;  /* init pred vector to 0 */    dec->p_bmv.x = dec->p_bmv.y = dec->p_fmv.x = dec->p_fmv.y = 0;  /* init pred vector to 0 */
1664    
1665    /* packed_mode: special-N_VOP treament */    /* packed_mode: special-N_VOP treament */
1666    if (dec->packed_mode && coding_type == N_VOP) {    if (dec->packed_mode && coding_type == N_VOP) {

Legend:
Removed from v.1890  
changed lines
  Added in v.1905

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