diff options
author | Mathias Panzenböck <grosser.meister.morti@gmx.net> | 2011-06-20 01:05:12 +0200 |
---|---|---|
committer | Mathias Panzenböck <grosser.meister.morti@gmx.net> | 2011-06-20 01:05:12 +0200 |
commit | 4b44f2504882f9c407a4c205112b0de53bece9c3 (patch) | |
tree | f8af5c3cc464e99045823e27c65f0793c231624a /taglib/it/itfile.cpp | |
parent | 4b754b1bc6190b493195a9bb798fa89dea440662 (diff) |
comments++
Diffstat (limited to 'taglib/it/itfile.cpp')
-rw-r--r-- | taglib/it/itfile.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/taglib/it/itfile.cpp b/taglib/it/itfile.cpp index 2dc63968..1ec69313 100644 --- a/taglib/it/itfile.cpp +++ b/taglib/it/itfile.cpp @@ -177,6 +177,12 @@ void IT::File::read(bool) */ StringList comment; + // Note: I found files that have nil characters somewhere + // in the instrument/sample names and more characters + // afterwards. The spec does not mention such a case. + // Currently I just discard anything after a nil, but + // e.g. VLC seems to interprete a nil as a space. I + // don't know what is the proper behaviour. for(ushort i = 0; i < instrumentCount; ++ i) { seek(192L + length + ((long)i << 2)); |