Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
FLAC bug: wave-parser broken for 24-bit / mono
post Oct 19 2008, 20:28
Post #1

Group: Members
Posts: 296
Joined: 27-July 02
From: Germany
Member No.: 2821


I found a serious problem with flac wave-parser:

In case you try to compress a 24-bit mono (probably all files with odd number of channels) wave file (packed) with an odd length (in samples), resulting in an odd length of the audio data chunk (3*length_in_samples) flac wonīt read the chunks after the audio chunk correctly, because itīs one byte out-of-sync, it skips the first byte and starts reading the next chunk like "ext\" (the last byte from length) instead of "bext". Of course it also reads the wrong length now and it says wave file is broken.

Encoding without "--keep-foreign-metadata" results just in wrong messages, but with this option encoding will fail. Fortunately flac does not seem to create broken files, either the sub-chunks are ignored or it fails.

Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 29th November 2015 - 22:55