Re: Facing problem of decoding FLAC

Martijn van Beurden <[email protected]>
Newsgroups gmane.comp.audio.compression.flac.devel
Message-ID <[email protected]>
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, 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 
> already filtered the invalid data, check the CRC-8 at the end of file. 
> But I am still finding some incorrect frame header. My question is: is 
> the design of FLAC frame header could be guaranteed that it won't be 
> appears in the central of the frame data, i.e. the subframe content? 
> If so, I have to check again with my implementation, but if not so, is 
> there a way to find the nearest frame header without seektable?
>
>
> Cheers,
>
> Saki
>
>
>
> _______________________________________________
> flac-dev mailing list
> [email protected]
> http://lists.xiph.org/mailman/listinfo/flac-dev

_______________________________________________
flac-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.