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 */ |
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) { |