Hello
I have created a program which decrypts tracks using bento4 but I am stuck at writing file to disk. The program crashes when writing decrypted tracks, because the size of the encrypted and decrypted samples are not the same.
The problem is in [login to view URL] in FragmentedSampleReader::ReadSample() after this comment : // Write initialisation & data into decrypted file.
I have a official git repo : [login to view URL]
It gives me below error.
std::bad_alloc error