Oleg Oshmyan  committed 2d41cc8

read version/flags for PACKED_LANG_ATOMs

  • Participants
  • Parent commits b5e1f07

Comments (0)

Files changed (1)

File src/parsley.cpp

 					if (KnownAtoms[filtered_known_atom].box_type == PACKED_LANG_ATOM) {
+						atom_verflags = APar_read32(twenty_byte_buffer, file, jump+8);
 						//the problem with storing the language is that the uint16_t 2 bytes that carry the actual language are in different places on different atoms
 						//some atoms have it right after the atom version/flags; some like rating/classification have it 8 bytes later; yrrc doesn't have it at all
 						char bitpacked_lang[4];