diego
6e9cbdc104
whitespace cosmetics: Remove all trailing whitespace.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
diego
0f65d3be9d
Convert HAVE_WINSOCK2_H into a 0/1 definition.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28437 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-01 13:42:27 +00:00
diego
4d644f513c
Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.
...
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
2008-10-13 16:23:55 +00:00
diego
3af860b877
Rename HAVE_WINSOCK preprocessor condition to HAVE_WINSOCK_H.
...
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
2008-08-29 20:05:08 +00:00
reimar
803385a5d7
Replace S_IREAD|S_IWRITE by POSIX-compatible S_IRUSR|S_IWUSR (not exactly the same, but should not matter).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27289 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-15 17:35:52 +00:00
diego
dfa733c50b
Add disc ID to -identify output.
...
patch by Mathieu Schroeter, mathieu.schroeter gamesover ch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27206 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-05 11:39:43 +00:00
diego
c657594049
cosmetics: Remove useless parentheses from return statements.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26788 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-16 08:43:15 +00:00
diego
3cf3483e39
#include just libavutil/common.h, not all of libavutil/intreadwrite.h.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25980 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-11 09:05:31 +00:00
rtogni
8c3a19d8a8
Prevent possible buffer overflow on album_title[]
...
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
2008-01-20 20:58:02 +00:00
ulion
0556fa54b5
Fix compilation failue:
...
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
2008-01-20 16:13:51 +00:00
reimar
925d887fe3
Reindent
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25808 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 16:58:57 +00:00
reimar
e1c3f319f2
Simplify and keep terminating end-of-line
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25807 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 16:57:53 +00:00
reimar
5efa59daeb
Remove a broken and useless hack to avoid a memcpy
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25806 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 16:49:01 +00:00
reimar
57f7b01ee4
Cached file must be 0-terminated since we use string processing functions on it
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25805 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 16:41:35 +00:00
reimar
20b28ac75e
Make sure we do not write the terminating 0 out of bounds
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25804 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 16:33:06 +00:00
ulion
6277b4387f
Support cddb on darwin.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25421 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-16 11:31:52 +00:00
diego
b000a6a519
ISO8859-1 --> UTF-8
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23754 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 19:50:36 +00:00
reimar
9afe162ba4
Avoiding sscanf in cddb support reading more data with %s than buffer size
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23470 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-05 11:13:32 +00:00
reimar
0cb679cfa6
Fix track info being read for the wrong track introduced in r20598
...
Patch by kiriuja (mplayer-patches <at> en-directo net)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23287 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-10 11:43:39 +00:00
reimar
49d90f4d53
Missing -1 in the FreeBSD code to get the first CD track number
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23286 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-10 11:39:58 +00:00
diego
d1f409719c
GNU/kFreeBSD support, closes Bugzilla #704 .
...
patch by Petr Salinger, Petr.Salinger seznam cz
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21866 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-10 14:56:23 +00:00
reimar
8641419c3d
More code shuffling
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20603 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 20:03:32 +00:00
reimar
9b50176ab6
cosmetics: move WIN32 read_toc code to allow for summarizing more common
...
code of the other variants.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20602 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:57:44 +00:00
reimar
2bd25a0093
Avoid code duplication for "last" toc entry.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20599 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:41:03 +00:00
reimar
0ac0489881
simplify/unify read_toc
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20598 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:24:54 +00:00
reimar
fbfa3ecb6a
Factor out common code in stream_cddb read_toc function.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20597 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:14:28 +00:00
reimar
78f762c11e
Remove useless code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20595 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-01 19:02:01 +00:00
ben
7690284b94
renamed cddX stream interface to stream_cddX for consistency
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19278 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 17:48:50 +00:00