[Flac-dev] Win32 and ELF created files are different

Djeizon Barros djzn.br at gmail.com
Tue Feb 9 14:10:56 PST 2010


Hi everyone,

I was fiddling with FLAC executable on Linux and also making FLAC files with foobar2000 under WINE. I was using the same exact options for both linux native executable and flac.exe through foobar2000. But I have noticed something: The FLAC files themselves created from flac.exe and flac(ELF) are not bit identical. They differ in something (Not audio data).

Looking at this, I used a Windows native installation to check about this and confirmed that the flac.exe in Windows is also creating a file that differs a little than the flac ELF. At first glance I compared the metadata and it seemed that metaflac returned different stream_offsets from the seektable, comparing the same music file created with flac-win and flac-lin. Then I removed entirely both their tags & padding, but they still are different. 

Is this normal? Music data is absolutely untouched, however, can this be an architecture difference between the compilers that made the Win32 and ELF executables? Just for the record, what is exactly making the files different?

Thanks a lot.

-- 
Djeizon Barros <djzn.br at gmail.com>


More information about the Flac-dev mailing list