We assumed that sample data is always stored in little-endian order, but that is not the case according to the FFmpeg documentation:
The data described by the sample format is always in native-endian order.
We assumed that sample data is always stored in little-endian order, but that is not the case according to the FFmpeg documentation:
The data described by the sample format is always in native-endian order.