aboutsummaryrefslogtreecommitdiffstats
path: root/taglib/asf
Commit message (Collapse)AuthorAgeFilesLines
* ASF: Bounds check the size of each header objectbobsayshilol2021-05-021-1/+1
| | | | | UBSan spotted an integer overflow on the line `dataPos += size`, so add a bounds check to the size that we read.
* Support a consistent set of MusicBrainz properties where possibleUrs Fleisch2021-01-101-1/+7
| | | | | | The support for MusicBrainz properties is enhanced with "ARTISTS", "ASIN", "RELEASECOUNTRY", "RELEASESTATUS", "RELEASETYPE", "MUSICBRAINZ_RELEASETRACKID", "ORIGINALDATE" on APE, ASF, MP4, ID3v2, and Xiph tags.
* Mark deprected methods and remove internal usageScott Wheeler2019-09-112-1/+2
| | | | | | | | This does not put the deprecated marker on methods that will or could resolve to the same overload, e.g.: void foo(bool bar = true); // <-- not marked void foo(Bar bar) // <-- since this will have a default argument in the new version
* Check if mandatory header objects are present when opening ASF files.Tsuda Kageyu2017-06-131-16/+25
| | | | | Also removes some assignments of "this". It feels too tricky when it is not absolutely necessary.
* Merge pull request #799 from TsudaKageyu/filetype-detectionTsuda Kageyu2017-06-122-0/+22
|\ | | | | Enable FileRef to detect file types by the actual content of a stream.
| * Rename the functions 'isValidStream' to 'isSupported'.Tsuda Kageyu2017-02-072-2/+2
| | | | | | | | The name 'isValidStream' is a little misleading because it doesn't check if the stream is really valid. Additionally, 'isSupported' can be naturally overloaded.
| * Enable FileRef to detect file types by the actual content of a stream.Tsuda Kageyu2017-02-042-0/+22
| | | | | | | | | | FileRef doesn't work with ByteVectorStream as reported at #796, since ByteVectorStream is not associated with a file name and FileRef detects file types based on file extensions. This commit makes FileRef to work with ByteVectorStream by enabling it to detect file types based on the actual content of a stream.
* | Fix wrong endian of boolean values when saving ASF files.Tsuda Kageyu2017-02-061-2/+2
|/
* Always use parentheses with new. It's a bit safer.Tsuda Kageyu2017-01-161-3/+3
|
* Initialize all the data members of ASF::Attribute.Tsuda Kageyu2017-01-141-28/+24
|
* Safer conversion of boolean values in ASF attributes.Tsuda Kageyu2016-12-191-2/+2
| | | | Technically, boolean values in Extended Content Description Object is not necessarily be 0 or 1.
* Small fixesmathbunnyru2016-11-241-1/+1
|
* Revert "Remove more useless inline specifiers."Tsuda Kageyu2016-02-181-5/+5
| | | | This reverts commit dadfe7979953dda7ae04ca1c3638495943dedf6d.
* Remove more useless inline specifiers.Tsuda Kageyu2016-02-171-5/+5
| | | | They are no longer needed since the unnamed namespaces have solved the ODR violation.
* Inline functions had better have internal linkages.Tsuda Kageyu2016-02-151-47/+50
| | | | This also removes useless inline specifiers.
* Use a standard type rather than TagLib::uint.Tsuda Kageyu2015-12-036-28/+28
| | | | This won't break the ABI compatibility.
* Use a standard type rather than TagLib::ulong.Tsuda Kageyu2015-12-031-1/+1
| | | | This won't break the ABI compatibility.
* Use a standard type rather than TagLib::ushort.Tsuda Kageyu2015-12-021-1/+1
| | | | This won't break the ABI compatibility.
* Reduce redundant ref()/deref() operations.Tsuda Kageyu2015-11-224-47/+59
|
* Avoid using String::null where an empty string is required.Tsuda Kageyu2015-11-201-6/+6
| | | | | String::null is not necessarily be empty or remains the same instance. Using it in a public header may lead to a linkage error.
* Remove a warning from a comment and update NEWS.Tsuda Kageyu2015-11-201-3/+0
|
* Avoid writing duplicate tags when saving ASF files.Tsuda Kageyu2015-11-201-5/+15
| | | | Reduce memory reallocations and copies when saving ASF files.
* Efficient lookup for the MP4/ASF field name and ID3v1 genre tables.Tsuda Kageyu2015-11-191-51/+57
| | | | Linear lookup is much faster and memory efficient when an array is very small.
* Avoid using ByteVector::null where an empty vector is required.Tsuda Kageyu2015-11-192-5/+6
| | | | | ByteVector::null is not necessarily be empty or remains the same instance. Using it in a public header may lead to a linkage error.
* Add self-assignment check in operator=garima-g2015-11-051-4/+6
| | | Method 'operator=' should check its argument with 'this' pointer.
* LalalaLukáš Lalinský2015-08-231-3/+0
|
* Add warnings about calling File::save() repeatedly.Tsuda Kageyu2015-08-041-0/+3
|
* ASF: Remove unused formal parameters.Tsuda Kageyu2015-07-312-11/+12
|
* ASF: Hide some internal functions from the public header.Tsuda Kageyu2015-06-236-172/+212
|
* ASF: Make use of List iterators and setAutoDelete().Tsuda Kageyu2015-06-231-30/+31
|
* ASF: Hide internal class declarations from the public header.Tsuda Kageyu2015-06-232-92/+84
|
* ASF: Use CodecType enum instead of a magic number.Tsuda Kageyu2015-06-231-2/+10
|
* ASF: Enable ASF::Properties to get the audio codec information.Tsuda Kageyu2015-06-214-12/+193
|
* ASF: AudioProperties improvementsTsuda Kageyu2015-06-183-18/+111
| | | | | | | Add lengthInSeconds(), lengthInMilliseconds() properties. (#503) Add bitsPerSample() property. (#360) Add some tests for audio properties. Add some supplementary comments.
* Fix some typos in comments.Tsuda Kageyu2015-06-091-2/+2
|
* Map::erase() can take a key directly so no need to call find() beforehand.Tsuda Kageyu2015-05-231-3/+1
|
* Bring the API more in line with the rest of TagLibScott Wheeler2015-05-202-3/+42
| | | | | Like in #255, this also makes it possible to read values from the tag in a const function.
* Remove unnecessary checks for null before deleteScott Wheeler2015-05-182-4/+2
| | | | Closes #343
* Store any GUID fields in Metadata Library Object.Tsuda Kageyu2015-04-281-24/+4
|
* Fix saving WMA files with some GUID fields.Tsuda Kageyu2015-04-281-13/+43
|
* Add ALBUMARTIST property mapping for WMALukáš Lalinský2014-04-101-0/+1
|
* Merge remote-tracking branch 'TsudaKageyu/comment-update'Lukáš Lalinský2013-07-111-2/+4
|\
| * Comment update: Added some supplementary explanations and fixed some spellings.Tsuda Kageyu2013-06-231-2/+4
| |
* | Updated the relevant commentsTsuda Kageyu2013-07-041-1/+0
|/
* Reintroduce HAVE_CONFIG_H so that TagLib can be built without CMakeLukáš Lalinský2013-06-202-2/+0
|
* Fixed comments for File constructorsTsuda Kageyu2013-05-301-11/+6
|
* Removed RefCounter implementation from a public headerTsuda Kageyu2013-05-032-0/+2
|
* Removed config.h and moved macros into taglib_config.hTsuda Kageyu2013-05-022-4/+2
|
* Refactor out some stuff to CMake testsTsuda kageyu2013-04-215-18/+2
|
* ByteVector::toUInt() takes offset and lengthTsuda kageyu2013-04-182-5/+6
|