1266 |
BitstreamPadAlways(bs); /* next_start_code(); */ |
BitstreamPadAlways(bs); /* next_start_code(); */ |
1267 |
|
|
1268 |
/* fake divx5 id, to ensure compatibility with divx5 decoder */ |
/* fake divx5 id, to ensure compatibility with divx5 decoder */ |
1269 |
#define DIVX5_ID "DivX000b000p" |
#define DIVX5_ID "DivX999b000p" |
1270 |
if (pParam->max_bframes > 0 && (pParam->global_flags & XVID_GLOBAL_PACKED)) { |
if (pParam->max_bframes > 0 && (pParam->global_flags & XVID_GLOBAL_PACKED)) { |
1271 |
BitstreamWriteUserData(bs, DIVX5_ID, strlen(DIVX5_ID)); |
BitstreamWriteUserData(bs, DIVX5_ID, strlen(DIVX5_ID)); |
1272 |
} |
} |