<li>Improved compression with no change to format or decrease in speed.</li>
<li>Encoding and decoding speedups for all modes. Encoding at -8 is twice as fast.</li>
<li>Added a new option <spanclass="argument"><ahref="documentation_tools_flac.html#flac_options_warnings_as_errors">-w,--warnings-as-errors</a></span> for treating all warnings as errors.</li>
<li>Added a new undocumented option <spanclass="argument">--ignore-chunk-sizes</span> for ignoring the size of the 'data' chunk (WAVE) or 'SSND' chunk(AIFF). Can be used to encode files with bogus data sizes. Use with caution, all subsequent data is treated as audio, so the data/SSND chunk must be the last or the following data/tags will be treated as audio and encoded.</li>
<li>Allow <spanclass="argument"><ahref="documentation_tools_flac.html#flac_options_picture">--picture</a></span> option to take only a filename, and have all other attributes extracted from the file itself.</li>
<li>Fixed a bug that caused suboptimal default compression settings in some locales (<ahref="https://sourceforge.net/tracker/index.php?func=detail&aid=1608883&group_id=13478&atid=113478">SF #1608883</a>).</li>
<li>Fixed a bug where FLAC-to-FLAC transcoding of a corrupted FLAC file would truncate the transcoded file at the first error (<ahref="http://sourceforge.net/tracker/index.php?func=detail&aid=1615019&group_id=13478&atid=113478">SF #1615019</a>).</li>
flac__utils_printf(stderr,1,"%s: INFO: hit EOF with --ignore-chunk-sizes, got %u samples\n",encoder_session.inbasefilename,(unsigned)encoder_session.samples_written);
flac__utils_printf(stderr,1,"%s: INFO: hit EOF with --ignore-chunk-sizes, got %u samples\n",encoder_session.inbasefilename,(unsigned)encoder_session.samples_written);
returnusage_error("ERROR: --sample-rate not allowed with --decode\n");
}
if(option_values.ignore_chunk_sizes){
if(option_values.mode_decode)
returnusage_error("ERROR: --ignore-chunk-sizes only allowed for encoding\n");
if(0!=option_values.sector_align)
returnusage_error("ERROR: --ignore-chunk-sizes not allowed with --sector-align\n");
if(0!=option_values.until_specification)
returnusage_error("ERROR: --ignore-chunk-sizes not allowed with --until\n");
if(0!=option_values.cue_specification)
returnusage_error("ERROR: --ignore-chunk-sizes not allowed with --cue\n");
if(0!=option_values.cuesheet_filename)
returnusage_error("ERROR: --ignore-chunk-sizes not allowed with --cuesheet\n");
}
if(option_values.sector_align){
if(option_values.mode_decode)
returnusage_error("ERROR: --sector-align only allowed for encoding\n");
...
...
@@ -460,6 +475,9 @@ int do_it(void)
else{/* encode */
FLAC__boolfirst=true;
if(option_values.ignore_chunk_sizes)
flac__utils_printf(stderr,1,"INFO: Make sure you know what you're doing when using --ignore-chunk-sizes.\n Improper use can cause flac to encode non-audio data as audio.\n");