a known issue: taglib puts the system down on big wav files

Николай Шафоростов shafff at ukr.net
Wed Feb 23 10:25:37 CET 2011


if one tries to analyze a large wav file, e.g. 700 megs, bad thing happens, because taglib reads all the chunks into memory.

possible solutions is to 1) put
    if (d->chunks.size()>=16)
      break;
in the beginning of while loop in RIFF::File::read().
2) save chunks only of known types, e.g. "ID3 ", "COMM", "data" and "fmt ".



More information about the taglib-devel mailing list