Lines Matching defs:version
7 // Licensed under the terms of the GNU General Public License, version 2.
65 uint16_t version;
307 unsigned int version;
321 uint16_t version;
325 version = le16toh(header->version);
334 if (version_compr != 0x1234 + ~version)
337 if (version != VOC_VERSION_1_10 && version != VOC_VERSION_1_20)
340 state->version = version;
345 static bool check_code_id(uint8_t code_id, unsigned int version)
352 if (version >= format_maps[i].minimal_version)
592 unsigned int version;
608 header->version = htole16(state->version);
609 header->version_compr = htole16(0x1234 + ~state->version);
697 if (state->version == VOC_VERSION_1_20) {
733 // Decide container version.
735 state->version = VOC_VERSION_1_20;
737 state->version = format_maps[i].minimal_version;
738 if (state->version == VOC_VERSION_1_10) {
747 state->version = VOC_VERSION_1_20;
757 state->version = VOC_VERSION_1_20;
783 if (state->version == VOC_VERSION_1_10 && state->extended)
789 if (state->version == VOC_VERSION_1_10)