Re: [flac-dev] Facing problem of decoding FLAC

2017-10-30 Thread Martijn van Beurden
Hi, No, there is no guarantee that a valid frame header won't appear in the data, it is just reasonable unlikely. Therefore, a decoder should take this possibility into account. Kind regards, Martijn van Beurden Op 30-10-17 om 04:33 schreef Haolei Ye: Hi FLAC developers, This is Saki,

[flac-dev] Facing problem of decoding FLAC

2017-10-30 Thread Haolei Ye
Hi FLAC developers, This is Saki, a student from Australian National University currently working on FLAC decoding with GPU acceleration. I am now facing a problem of locating the FLAC frame header. I am now trying to find a way to find the nearest frame header after a specific byte. I have al