2017-10-03 23:49 GMT+02:00 <bananaman255 at gmail.com>: > - if (size < 40 + num_streams * 4) > + if (size != (32 + ((version==3)?0:8) + 4*num_streams)) Could be: (32 + (version == 4) * 8) + 4 * num_streams) Please also provide a sample and a fate test. Thank you, Carl Eugen