Anthon Lockwood

Results 2 issues of Anthon Lockwood

fixes: - readBits not working as expected - no keyframes - mdat->end set too early changes: - moved the buffer layer to the file class -> >10x faster - forbidden...

I have some files in which the audio packets have different durations. But `duration = frame->nb_samples;` in `Codec::getLength` is always 1024. Since there is a [comment](https://github.com/ponchio/untrunc/blob/2953f36f81a02001fccce0778f156d67f72dfbec/mp4.cpp#L340) saying the duration can...