[flac-dev] Commonly getting FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA on valid audio

Cristian Rodríguez
Fri, 08 Feb 2013 01:56:36 -0000

El 07/02/13 19:07, Collin escribi?:
> I'm using libflac on Windows to compress some audio samples. I'm
building the
> library locally, using Visual Studio 2010. Each set of data is 2-5 MB and
well
> formed PCM encoded data. I'm finding some very odd behavior.
>
> If I enable verify on the encode stream, I get a verify mismatch on most of
my
> sample sets. Each set of samples returns this error at a different location
in
> the stream, but always the same location for the same file.
>
> However, if I disable verify, the resulting FLAC encoded data DOES decode
> correctly in most cases, giving me an exact replica of the input.

Before debugging further, ensure you can reproduce this in a different
computer, or verify that you dont have broken RAM.