1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 09:02:38 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
diego
b63759b175 Do not cast the results of malloc/calloc/realloc.
These functions return void*, which is compatible with any pointer,
so there is no need for casts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30744 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-02-26 15:01:37 +00:00
diego
ce3ffd4292 Add standard license header to C tools missing them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30458 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-30 13:35:03 +00:00
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
50a2b32983 Remove unused variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23720 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-04 20:03:17 +00:00
diego
bfa034ce2d Add explicit SDL include path. This should allow compilation even when
MPlayer was configured without SDL support.  Change the Makefile accordingly.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22759 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-20 01:20:57 +00:00
diego
d2e96bddda Add return 0 to fix the following warning:
bmovl-test.c:118: warning: control reaches end of non-void function


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22758 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-20 01:15:28 +00:00
diego
72882d708f Include stdlib.h and string.h to fix the following warnings:
bmovl-test.c:22: warning: implicit declaration of function `strlen'
bmovl-test.c:64: warning: implicit declaration of function `exit'
bmovl-test.c:67: warning: implicit declaration of function `atoi'
bmovl-test.c:89: warning: implicit declaration of function `malloc'
bmovl-test.c:114: warning: implicit declaration of function `free'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22757 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-20 01:11:55 +00:00
diego
b478785d89 Move gltest and bmovl-test into the main TOOLS directory, subdirectories
for single files are silly.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22755 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-20 01:06:51 +00:00