63 Commits

Author SHA1 Message Date
Catalin Patulea
3a57744735 Add printf attribute to log_err/DPRINTF and fix a few warnings
Modified to not use %z for portability reasons.
2014-04-10 18:57:30 -07:00
Justin Maggard
bc43d45964 Clean up a couple return value checks. 2014-04-07 14:20:50 -07:00
Justin Maggard
d492b43ef8 Fix various potential illegal access and memory leaks in error conditions. 2014-04-07 11:20:19 -07:00
Justin Maggard
10471aa29b portability: fix compiling on systems without iconv 2014-03-07 13:20:26 -08:00
Justin Maggard
a606012d23 Fix Clang compiler warnings. 2014-03-07 12:42:40 -08:00
Justin Maggard
b9404d1847 cleanup: remove unused tagutils code, and switch to standard int types 2014-03-06 17:08:21 -08:00
Justin Maggard
582dd80f3b Add "albumartist" tag support for vorbis (flac). (Thanks SF user shimikano) 2014-02-03 11:47:16 -08:00
Spencer Oliver
2c33d4149d build: fix out of src tree builds
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
2014-01-31 15:33:51 -08:00
Justin Maggard
6f7b5761c6 Fix memory leak in AAC tag parsing. 2014-01-16 17:09:51 -08:00
Justin Maggard
035fd35ffd * Fix up bad accesses found by valgrind. 2012-11-06 08:24:37 +00:00
Justin Maggard
2e120e83a0 * Add some logging and forking tweaks to work better with systemd. 2012-10-04 21:04:36 +00:00
Justin Maggard
5632e760f5 * Fix a possible file descriptor leak. 2012-06-26 18:23:04 +00:00
Justin Maggard
40f3664390 * Fix warn_unused_result compiler warnings with FORTIFY_SOURCE defined. 2012-03-28 08:15:15 +00:00
Justin Maggard
cabbd0b1de * Use an asprintf wrapper, to report errors and NULLify the result. 2012-03-14 17:57:21 +00:00
Justin Maggard
c9d979886b * Handle some (apparently) common WAV file malformations. 2012-03-14 08:38:59 +00:00
Justin Maggard
25c74a3962 * Fix a crash bug on some oddly-formed WAV files. 2012-03-08 18:11:01 +00:00
Justin Maggard
0a0be0d96c * Add a MAXDEBUG log level. 2012-03-08 18:09:55 +00:00
Justin Maggard
62da09d9ce * Consolidate playlist scanning functions, and fix bug where an empty line in a playlist would cause it get thrown out as invalid. (Thanks Sean Mahnken) 2011-11-05 00:37:08 +00:00
Justin Maggard
6b3729a147 * Support MP3 coverart extraction from certain podcasts that use an improper MIME type. (Thanks SF user jombatz) 2011-11-02 07:17:31 +00:00
Justin Maggard
773e1f6566 * Add support for other operating systems (kFreeBSD, FreeBSD, and OSX for now).
* Switch to autoconf from genconfig.sh.
2011-09-16 23:39:58 +00:00
Justin Maggard
63869c9e17 * Fix an invalid read if the last RIFF tag is an integer value. 2011-09-01 01:16:22 +00:00
Justin Maggard
88b253968f * Fix compiling issues with some ffmpeg/libav versions. 2011-07-13 18:47:57 +00:00
Justin Maggard
741d4f7e99 * Fix up some minor quibbles from cppcheck. 2011-07-01 18:18:33 +00:00
Justin Maggard
1d7a890d09 * Do a case-insensitive search for "itrk" WAV metadata. 2011-06-27 23:27:09 +00:00
Justin Maggard
9347abcba0 * Handle a couple additional RIFF tags. 2011-06-22 00:20:19 +00:00
Justin Maggard
68bed133cd * Add WAV file tag reading support. 2011-06-21 01:57:45 +00:00
Justin Maggard
5782be8ab2 * Improve WMA DLNA profile parsing. 2011-05-17 00:25:03 +00:00
Justin Maggard
9a9270cecf * Fix some issues reported by cppcheck. 2011-05-02 23:50:52 +00:00
Justin Maggard
5c7cf70e02 * Fix a compiler warning when making 64-bit binaries. 2011-04-21 08:05:38 +00:00
Justin Maggard
87e71c443a * Reorder a couple artist roles, to be more similar to the familar WMP organisation. 2011-02-15 01:03:15 +00:00
Justin Maggard
adeae41293 * Fix "dereferencing type-punned pointer will break strict-aliasing rules" compiler warning. 2011-02-15 00:02:13 +00:00
Justin Maggard
8e0fcd56f9 * Complete/clarify license information. 2010-11-11 23:48:14 +00:00
Justin Maggard
2f53a05727 * Fix typo. 2010-10-27 00:39:02 +00:00
Justin Maggard
acf6f16d02 * Fix big-endian issue with XING header parsing. 2010-09-01 00:33:43 +00:00
Justin Maggard
ebf2585c17 * Need to include config.h to get the HAVE_ICONV_H definition for localization. 2010-07-13 20:10:49 +00:00
Justin Maggard
3934bf4448 * Fix issue with playlists containing a single quote.
* Ignore bad playlists containing binary data.
2010-02-22 22:22:03 +00:00
Justin Maggard
c441187d2a * Fix a couple potential buffer overflows. 2010-01-28 20:26:38 +00:00
Justin Maggard
346ff6e293 * Add M3U/PLS music playlist support. 2010-01-13 21:15:26 +00:00
Justin Maggard
41f204029b * Fix some issues with uClibc. 2009-10-28 07:44:45 +00:00
Justin Maggard
ecec767f17 * Add PCM support, assuming defaults of 44.1K and 2 channels. 2009-10-12 21:07:14 +00:00
Justin Maggard
ba29e35bcc * Clean up after some memory allocations before exit so valgrind is happy.
* Fork off the scanner process instead of doing it in another thread, so if libavformat leaks memory it will be cleaned up once scanning is finished.
2009-10-03 02:08:59 +00:00
Justin Maggard
f259479ecf * Don't call WAV files LPCM, because they're disqualified due to endianness. 2009-08-10 21:16:53 +00:00
Justin Maggard
7e24abe127 * Fix a possible segfault with a certain type of corrupted MP4 header (huge reported atom size). 2009-06-18 01:59:22 +00:00
Justin Maggard
7e32fcbdb5 * Better support DLNA profiles on a couple media types.
* Handle AAC files without optional extended header data in the esds atom.
2009-05-30 04:31:18 +00:00
Justin Maggard
029928569a * WAV/LPCM handling tweaks. 2009-05-28 08:22:39 +00:00
Justin Maggard
abf80e59d7 * Only scan for embedded images if libFLAC is new enough. 2009-05-28 08:22:15 +00:00
Justin Maggard
c011c4a087 * Add initial support for video cover art.
* Try to handle id3 tags that use non-utf8 and iso8859 charsets.
2009-05-27 23:11:18 +00:00
Justin Maggard
feb2fd1e87 * Fix a small potential memory leak. 2009-05-27 23:09:11 +00:00
Justin Maggard
4f489faedc * Add album art extraction code for more file types. 2009-05-27 22:55:46 +00:00
Justin Maggard
c10c913b30 * Some fixes for the UPnP Device Validator. 2009-05-19 23:43:51 +00:00