197 |
dec->time_inc_resolution = 1; /* until VOL header says otherwise */ |
dec->time_inc_resolution = 1; /* until VOL header says otherwise */ |
198 |
dec->ver_id = 1; |
dec->ver_id = 1; |
199 |
|
|
200 |
|
if (create->fourcc == ((int)('X')|((int)('V')<<8)| |
201 |
|
((int)('I')<<16)|((int)('D')<<24))) { /* XVID */ |
202 |
|
dec->bs_version = 1; /* Initially assume oldest xvid version */ |
203 |
|
} |
204 |
|
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 */ |
206 |
|
} |
207 |
|
|
208 |
dec->fixed_dimensions = (dec->width > 0 && dec->height > 0); |
dec->fixed_dimensions = (dec->width > 0 && dec->height > 0); |
209 |
|
|