summaryrefslogtreecommitdiffstats
path: root/stream/stream_cddb.c
Commit message (Collapse)AuthorAgeFilesLines
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-40/+40
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert HAVE_WINSOCK2_H into a 0/1 definition.diego2009-02-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28437 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.diego2008-10-131-4/+4
| | | | | | | This avoids a pointless indirection that only obscures what is really done. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename HAVE_WINSOCK preprocessor condition to HAVE_WINSOCK_H.diego2008-08-291-1/+1
| | | | | | | | | This is what it is called in FFmpeg and more consistent with other names for similar conditionals. This fixes a potential compilation failure on MinGW, as described in Bugzilla #1262. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27493 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace S_IREAD|S_IWRITE by POSIX-compatible S_IRUSR|S_IWUSR (not exactly ↵reimar2008-07-151-1/+1
| | | | | | the same, but should not matter). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27289 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add disc ID to -identify output.diego2008-07-051-0/+2
| | | | | | | patch by Mathieu Schroeter, mathieu.schroeter gamesover ch git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27206 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove useless parentheses from return statements.diego2008-05-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26788 b3059339-0415-0410-9bf9-f77b7e298cf2
* #include just libavutil/common.h, not all of libavutil/intreadwrite.h.diego2008-02-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25980 b3059339-0415-0410-9bf9-f77b7e298cf2
* Prevent possible buffer overflow on album_title[]rtogni2008-01-201-2/+5
| | | | | | | Based on a patch by Adam Bozanich abozanich musecurity com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25824 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation failue:ulion2008-01-201-0/+1
| | | | | | | | | | stream_cddb.c: In function 'cddb_read_cache': stream_cddb.c:341: error: 'UINT_MAX' undeclared (first use in this function) stream_cddb.c:341: error: (Each undeclared identifier is reported only once stream_cddb.c:341: error: for each function it appears in.) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25820 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reindentreimar2008-01-191-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25808 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify and keep terminating end-of-linereimar2008-01-191-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25807 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a broken and useless hack to avoid a memcpyreimar2008-01-191-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25806 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cached file must be 0-terminated since we use string processing functions on itreimar2008-01-191-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25805 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure we do not write the terminating 0 out of boundsreimar2008-01-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25804 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support cddb on darwin.ulion2007-12-161-1/+51
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25421 b3059339-0415-0410-9bf9-f77b7e298cf2
* ISO8859-1 --> UTF-8diego2007-07-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23754 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoiding sscanf in cddb support reading more data with %s than buffer sizereimar2007-06-051-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23470 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix track info being read for the wrong track introduced in r20598reimar2007-05-101-3/+3
| | | | | | | Patch by kiriuja (mplayer-patches <at> en-directo net) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23287 b3059339-0415-0410-9bf9-f77b7e298cf2
* Missing -1 in the FreeBSD code to get the first CD track numberreimar2007-05-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23286 b3059339-0415-0410-9bf9-f77b7e298cf2
* GNU/kFreeBSD support, closes Bugzilla #704.diego2007-01-101-2/+2
| | | | | | | patch by Petr Salinger, Petr.Salinger seznam cz git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21866 b3059339-0415-0410-9bf9-f77b7e298cf2
* More code shufflingreimar2006-11-011-26/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20603 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: move WIN32 read_toc code to allow for summarizing more commonreimar2006-11-011-22/+24
| | | | | | | code of the other variants. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20602 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid code duplication for "last" toc entry.reimar2006-11-011-28/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20599 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplify/unify read_tocreimar2006-11-011-28/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20598 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factor out common code in stream_cddb read_toc function.reimar2006-11-011-35/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20597 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless codereimar2006-11-011-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20595 b3059339-0415-0410-9bf9-f77b7e298cf2
* renamed cddX stream interface to stream_cddX for consistencyben2006-07-311-0/+878
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19278 b3059339-0415-0410-9bf9-f77b7e298cf2