438 |
uint32_t coding_type; |
uint32_t coding_type; |
439 |
uint32_t start_code; |
uint32_t start_code; |
440 |
uint32_t time_incr = 0; |
uint32_t time_incr = 0; |
441 |
int32_t time_increment; |
int32_t time_increment = 0; |
442 |
int resize = 0; |
int resize = 0; |
443 |
|
|
444 |
do { |
do { |
1070 |
|
|
1071 |
DPRINTF(DPRINTF_STARTCODE, "<user_data>: %s\n", tmp); |
DPRINTF(DPRINTF_STARTCODE, "<user_data>: %s\n", tmp); |
1072 |
|
|
1073 |
|
/* read xvid bitstream version */ |
1074 |
|
if(strncmp(tmp, "XviD", 4) == 0) { |
1075 |
|
sscanf(tmp, "XviD%d", &dec->bs_version); |
1076 |
|
DPRINTF(DPRINTF_HEADER, "xvid bitstream version=%i", dec->bs_version); |
1077 |
|
} |
1078 |
|
|
1079 |
/* divx detection */ |
/* divx detection */ |
1080 |
i = sscanf(tmp, "DivX%dBuild%d%c", &version, &build, &packed); |
i = sscanf(tmp, "DivX%dBuild%d%c", &version, &build, &packed); |
1081 |
if (i < 2) |
if (i < 2) |