Commit Graph

600 Commits

Author SHA1 Message Date
diego 583ba8dcb7 Remove encode2mpeglight, it is only an outdated stripped-down version of the
tool maintained externally at http://encode2mpeg.sf.net/.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27537 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-07 12:58:23 +00:00
diego 5e5c1feb69 license header cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27536 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-06 18:39:12 +00:00
diego f2b8ab9994 Fix incorrect FSF address in license header.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27535 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-06 18:21:18 +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
diego e588ab056d Change a bunch of video-output-specific preprocessor directives from a HAVE_
prefix to a CONFIG_ prefix.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27397 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 17:38:11 +00:00
diego 9c355fec91 Rename binary-codecs.sh to binary_codecs.sh as it is called in Debian.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27384 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-31 22:40:22 +00:00
diego 8b9c830dc3 Revert previous broken rename of binary-codecs.sh that had random changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27383 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-31 22:38:34 +00:00
diego 26a047a816 Rename binary-codecs.sh once more to binary_codecs.sh as it is called in Debian.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27382 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-31 09:49:16 +00:00
diego afc12ef42b Rename install-w32codecs.sh --> binary-codecs.sh.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27381 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-31 09:36:18 +00:00
diego 6ab83c724c Run bash-specific shell scripts with bash, not sh.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27231 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-07 09:32:21 +00:00
diego badc033ef7 Give all shell scripts a .sh suffix for consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27230 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-07 09:30:22 +00:00
diego 1ebc859ff8 Replace bash-specific [[]] construct by proper a proper [] test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27229 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-07 06:47:01 +00:00
diego 07e557c6d9 Replace == in []/test constructs with =, == is a bashism.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27228 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-07 06:43:45 +00:00
diego 9713f2a22f Remove unnecessary function keyword from shell script function declarations,
it is a bashism.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27227 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-07 06:30:24 +00:00
diego f9810c0dfb Fix the linking of TOOLS/netstream and TOOLS/vivodump.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26995 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-06 13:28:25 +00:00
diego 5423c418c2 cosmetics: Remove useless parentheses from return statements.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-16 09:42:28 +00:00
diego b10c35e0ed Use standard license headers with standard formatting.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26775 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-14 18:02:27 +00:00
diego 5af496679d Remove loader/wine/avifmt.h #include, the AVI types declared there conflict
with the ones from libmpdemux/aviheader.h, which is #included below.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26612 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-30 14:06:33 +00:00
diego 4180db130e Add missing string.h #include to fix a bunch of implicit declaration warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26611 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-30 14:03:32 +00:00
diego b5ea65c04f Remove unused fast_memcpy() function and link against the object that
contains fast_memcpy() instead.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26610 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-30 14:00:32 +00:00
diego 375be23d2c Disable unused function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26608 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-30 13:57:15 +00:00
diego c5d5fe98b2 Mark all functions that are only used within the file as static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26607 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-30 13:53:40 +00:00
diego e8d9d7db4e Remove useless 0 flag from s printf conversion specifier, fixes the warning:
TOOLS/movinfo.c:332: warning: '0' flag used with '%s' printf format


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26506 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-23 09:24:54 +00:00
diego f19af4d788 Remove redundant definitions that are already present on the command line.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26488 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-22 08:52:05 +00:00
diego 88961299aa Merge TOOLS/Makefile into the top-level Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26487 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-22 08:50:38 +00:00
diego 513aaf0695 Remove pointless '0' flag from fprintf call, fixes the warning:
warning: '0' flag ignored with precision and '%d' printf format


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26481 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-21 05:43:49 +00:00
diego 71d7b8f747 Add $(EXESUF) to netstream rule.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26480 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-20 22:11:38 +00:00
diego a3271c2409 Only build modify_reg on x86.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26479 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-20 22:08:10 +00:00
diego d989dc71e2 Simplify list of files to remove on make clean.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26478 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-20 22:07:34 +00:00
diego 30028e3e7b fastmemcpybench is a phony target. Do not try to remove a file by that name.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26477 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-20 21:59:19 +00:00
diego 293e11bc0f Remove Win32 linker option for netstream. Other winsock using code does not
need it, it should be set from configure and the reason why it was set in
the first place has been lost in the mists of time.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26387 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-11 07:37:27 +00:00
diego 24ce48897e Do not build subrip with debugging symbols.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26371 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-09 17:03:08 +00:00
diego 4eea61ddb3 cosmetics: Group dependency declarations together.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26370 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-09 17:02:22 +00:00
diego 2c6ac409a5 Remove redundant compilation commands that shadow builtin rules.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26369 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-09 17:00:42 +00:00
diego 47a0430fea List libraries to link to in dependency list.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26368 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-09 16:54:49 +00:00
diego 58983c3d2e cosmetics: Add CFLAGS to compilation commands everywhere.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26367 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-09 16:50:30 +00:00
diego e74dfd1bd1 Remove unnecessary ../libmpcodecs/img_format.o from list subrip objects.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26366 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-09 16:42:18 +00:00
diego ad908d5198 Update for latest changes to linking dependencies.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26365 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-09 16:39:07 +00:00
diego 6063301513 Add MPLAYER_ prefix to multiple inclusion guard of generated file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26089 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 12:53:11 +00:00
diego 962433eda2 Add multiple inclusion guards to generated header file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25893 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 18:42:00 +00:00
diego 2697136bbb Change format string so that the table is nicely aligned.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25892 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 18:40:01 +00:00
diego 7a1f275849 The alaw tables should be const.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25891 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 18:38:47 +00:00
diego 72b5d885bc Move compare.c to TOOLS, add it to the Makefile and document it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25830 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 00:05:48 +00:00
reimar 2ce545224d Fix usage example comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25798 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 14:28:48 +00:00
reimar ced77b5b8f Add the edge-enhancement filter based on edgedetect I had lying around.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25789 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 10:49:21 +00:00
diego 1660147878 Relicense to GPL v2 or later with Reimar's permission.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25633 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 21:19:59 +00:00
diego 6da8e4a81d Remove compilation command from source file, it is already in the Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25571 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 19:53:51 +00:00
diego 4a36933f7b Fix license header to read Lesser General Public License 2.1,
a Lesser General Public License 2 never existed.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25570 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 19:52:23 +00:00
diego 9cf25c26ad unrarlib.o no longer exists, link against unrar_exec.o.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25569 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 19:43:36 +00:00
diego 8c0a903ccb Fix printf format string length modifiers, removes about a trillion warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25341 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 14:39:19 +00:00
diego 0cfa7f03f7 Comment out unused variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25340 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 14:13:34 +00:00
diego f059a5570e Remove unused parameters from main(), fixes the warnings:
netstream.c:340: warning: unused parameter 'argc'
netstream.c:340: warning: unused parameter 'argv'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25338 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 13:18:27 +00:00
diego d123fad2bd Fix printf format string length modifiers, removes the warnings:
vivodump.c:213: warning: format '%08X' expects type 'unsigned int', but argument 2 has type 'long int'
vivodump.c:220: warning: format '%08X' expects type 'unsigned int', but argument 2 has type 'long int'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25337 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 13:16:10 +00:00
diego 0822727933 Fix printf format string length modifiers, removes the warnings:
asfinfo.c: In function 'print_wave_header':
asfinfo.c:114: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c:115: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c: In function 'print_video_header':
asfinfo.c:140: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c:141: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c:142: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c:145: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c:146: warning: format '%d' expects type 'int', but argument 2 has type 'long int'
asfinfo.c: In function 'main':
asfinfo.c:174: warning: format '%X' expects type 'unsigned int', but argument 2 has type 'long int'
asfinfo.c:220: warning: format '%d' expects type 'int', but argument 6 has type 'long unsigned int'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25336 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-10 13:11:26 +00:00
ivo 56f0494615 suppress silly messages when checktree is not called from the root of the tree
but nevertheless has no specific arguments to work with. it will traverse
the tree from there, but obviously cannot find our externals.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25312 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-05 23:44:31 +00:00
ivo 86edf7b297 only check source code for gnuisms
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25311 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-05 23:41:59 +00:00
ivo 64d1a0d366 simpler and more easily expandable test whether we need a shortlist that
only contains .[ch] files


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25310 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-05 23:39:01 +00:00
ivo 9495e9701b test for presence of .svn directory if we are supposed to traverse the tree
according to svn info
.svn might be missing (i.e. after svn export)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25309 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-05 23:36:03 +00:00
ivo a46d864303 when gathering the list of files to check via svn info, also include
libpostproc.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25305 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-05 17:42:56 +00:00
ivo 2ac12d82d8 cosmetics/indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25289 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-03 21:45:43 +00:00
ivo 284673cbf5 when gathering the list of files to check via svn info, also include
externals (libav*)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25288 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-03 21:43:48 +00:00
ivo 66a1addb00 add functions that are not specifically marked as being deprecated or obsolete,
but which are dangerous to use (possible race conditions, undefined filemode,
et cetera; use tmpfile(3) instead).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25287 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-03 21:40:54 +00:00
reimar 844c8ffc48 Mark several uses of vo_functions_t as const to stop some of the current
hacks e.g. in vidix code from spreading.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25247 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-02 14:24:23 +00:00
ivo d3fbd9a436 10l for me. I should read my own comments just above it ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25220 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 23:02:32 +00:00
ivo dd9d075405 less code for initializing default settings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25219 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 23:01:30 +00:00
ivo 33ef887d5b add test for deprecated and obsolete functions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25218 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-30 22:52:56 +00:00
compn 962a99ead2 simple avoid wine complaints fix by sherpya
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24797 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-17 02:24:50 +00:00
diego c8ae1836e6 cosmetics: misc typo fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24615 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-25 16:34:23 +00:00
diego 06facf3a90 According to MSDN a thread must call CoUninitialize once for each successful
call it has made to CoInitialize or CoInitializeEx, including any call that
returns S_FALSE. Only the CoUninitialize call corresponding to the CoInitialize
or CoInitializeEx call that initialized the library can close it.
patch by Gianluigi Tiesi, mplayer netfarm it


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24596 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-23 20:37:33 +00:00
compn a4e3bde0af vfw2menc works on linux/windows
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24547 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-16 18:34:20 +00:00
compn 7207dc5fd4 vfw2menc works on linux and windows x86 only
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24544 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-16 15:14:56 +00:00
diego c20f7e99c4 Mark xx function as returning char, fixes:
avi-fix.c:18: warning: return type defaults to 'int'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24255 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 10:41:16 +00:00
diego c66a69924b Remove nonsensical #ifdef.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24254 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-28 10:38:35 +00:00
diego e6eeef436b Simplify the addition of -g to some CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24244 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 12:00:55 +00:00
diego b7ffad3d0a Move common link libs/objects into a variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24243 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 11:58:37 +00:00
diego 11caf018fd consistent linking order
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24242 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 11:52:21 +00:00
diego 449e6746e3 Simplify linkage parameters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24240 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 11:12:12 +00:00
diego 068d66d0a0 warning fixes:
realcodecs/drv4.c: In function 'RV20toYUV420CustomMessage':
realcodecs/drv4.c:151: warning: unused variable 'temp'
realcodecs/drv4.c:150: warning: unused variable 'pp1'
realcodecs/drv4.c: In function 'build_crc':
realcodecs/drv4.c:263: warning: unused variable 'b'
realcodecs/drv4.c: In function 'RV20toYUV420Transform':
realcodecs/drv4.c:295: warning: unused variable 'crc2'
realcodecs/drv4.c:295: warning: unused variable 'crc1'
realcodecs/drv4.c:295: warning: unused variable 'len'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24239 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 11:08:19 +00:00
diego 952b64b0d3 warning fixes:
realcodecs/drv3.c: In function 'build_crc':
realcodecs/drv3.c:291: warning: unused variable 'b'
realcodecs/drv3.c: In function 'RV20toYUV420Transform':
realcodecs/drv3.c:323: warning: unused variable 'crc2'
realcodecs/drv3.c:323: warning: unused variable 'crc1'
realcodecs/drv3.c:323: warning: unused variable 'len'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24238 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 11:05:40 +00:00
diego 686cfb9f05 warning fixes:
realcodecs/drv2.c: In function 'build_crc':
realcodecs/drv2.c:316: warning: unused variable 'b'
realcodecs/drv2.c: In function 'RV20toYUV420Transform':
realcodecs/drv2.c:348: warning: unused variable 'crc2'
realcodecs/drv2.c:348: warning: unused variable 'crc1'
realcodecs/drv2.c:348: warning: unused variable 'len'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24237 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 11:04:10 +00:00
diego df14a8fe9e warning fixes:
realcodecs/sipr.c: In function 'RAInitDecoder':
realcodecs/sipr.c:348: warning: unused variable 'temp2'
realcodecs/sipr.c:347: warning: unused variable 'temp'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24236 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:59:12 +00:00
diego cd9abbea80 warning fixes:
realcodecs/ra.c: In function 'RASetFlavor':
realcodecs/ra.c:344: warning: unused variable 'property'
realcodecs/ra.c:343: warning: unused variable 'flavor'
realcodecs/ra.c:343: warning: unused variable 'numflavors'
realcodecs/ra.c:342: warning: unused variable 'result1'
realcodecs/ra.c:342: warning: unused variable 'numprop'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24235 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:58:30 +00:00
diego 4bdae7c94a warning fixes:
realcodecs/28_8.c: In function 'RAInitDecoder':
realcodecs/28_8.c:238: warning: unused variable 'temp2'
realcodecs/28_8.c:237: warning: unused variable 'temp'
realcodecs/28_8.c: In function 'RASetFlavor':
realcodecs/28_8.c:273: warning: unused variable 'property'
realcodecs/28_8.c:272: warning: unused variable 'flavor'
realcodecs/28_8.c:272: warning: unused variable 'numflavors'
realcodecs/28_8.c:271: warning: unused variable 'result1'
realcodecs/28_8.c:271: warning: unused variable 'numprop'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24234 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:56:48 +00:00
diego 2c013c1875 warning fixes:
realcodecs/14_4.c: In function 'RAInitDecoder':
realcodecs/14_4.c:238: warning: unused variable 'temp2'
realcodecs/14_4.c:237: warning: unused variable 'temp'
realcodecs/14_4.c: In function 'RASetFlavor':
realcodecs/14_4.c:273: warning: unused variable 'property'
realcodecs/14_4.c:272: warning: unused variable 'flavor'
realcodecs/14_4.c:272: warning: unused variable 'numflavors'
realcodecs/14_4.c:271: warning: unused variable 'result1'
realcodecs/14_4.c:271: warning: unused variable 'numprop'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24233 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:55:27 +00:00
diego bccfdf2cd0 Remove unnecessary fastmemcpybench prerequisite.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24232 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:51:48 +00:00
diego 2c12e91a23 Remove unused #include.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24231 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:50:58 +00:00
diego fa364a03dc Fix a ton of warnings:
warning: incompatible implicit declaration of built-in function 'memset'
warning: incompatible implicit declaration of built-in function 'memcpy'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24230 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:32:46 +00:00
diego 42d1af3f6a Simplify bmovl-test compilation call.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24229 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:29:25 +00:00
diego 70261e715f Fix "incompatible implicit declaration of built-in function 'exit'" warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24228 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:16:10 +00:00
diego 53cdcdb4d3 Mark phony targets as such.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24227 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:13:11 +00:00
diego b0d0866059 Move fastmemcpybench objects to link against into prerequisites.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24226 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 10:10:12 +00:00
diego 14b2c39cd6 warning fix:
fastmemcpybench.c: At top level:
fastmemcpybench.c:29: warning: 'mga_next_frame' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24225 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 09:59:23 +00:00
diego a1d3c0aeaf warning fix:
fastmemcpybench.c: In function 'mga_init':
fastmemcpybench.c:36: warning: unused variable 'frame_mem'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24224 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 09:58:35 +00:00
diego 80226b8d77 warning fix:
vivodump.c: In function 'main':
vivodump.c:293: warning: control reaches end of non-void function


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24223 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 09:52:55 +00:00
diego 8826704061 warning fixes:
movinfo.c: In function 'video_stream_info':
movinfo.c:80: warning: control reaches end of non-void function
movinfo.c: In function 'audio_stream_info':
movinfo.c:99: warning: control reaches end of non-void function
movinfo.c: In function 'userdata_info':
movinfo.c:152: warning: control reaches end of non-void function


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24222 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 09:47:17 +00:00
diego 7728f7bd12 Get netstream closer to linking.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24201 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 17:52:29 +00:00
diego f04257530a warning fix:
modify_reg.c: In function 'remove_key':
modify_reg.c:39: warning: unused variable 'tmp_name'
modify_reg.c:39: warning: unused variable 'tmp_val'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24200 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 17:39:15 +00:00
diego 7117b5b121 Fix subrip and vivodump linking.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24199 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 17:36:57 +00:00
diego 4ed5da4ad7 Mark vfw2menc as Windows-only.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24197 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-25 17:33:35 +00:00
cehoyos 70ea6c25d8 Added Alan Nisotas modify_reg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24016 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-06 09:58:15 +00:00
diego 5acbb3c611 Remove unused variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24012 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-04 21:26:54 +00:00
reimar 02b7254f93 Add a dummy guiMessageBox so it still compiles when MPlayer was configured with
--enable-gui


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24009 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-04 15:58:43 +00:00
ivo bb195ba780 Make the printoption function take the default values from the variable
names related to the flag name, with the possibility to override it if the
variable name is not the same as the flag name. This simplifies printing of
the help message and reduces the possibility of future errors.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23971 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 15:10:10 +00:00
ivo 58af77f9d8 cosmetics, indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23970 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 14:51:56 +00:00
ivo f621fa2961 Shorten (un)setting of all test flags
Now that we have a list of all flags, we can set them to yes or no with a
for-loop.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23969 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 14:50:44 +00:00
ivo c9be32501b Much smaller command line parser
This removes all code duplication for setting and unsetting -(no)flags specified
on the command line


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23968 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 14:48:13 +00:00
ivo ce138ecc7f Update copyright info and license
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23960 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 08:17:35 +00:00
ivo 5e4f641679 cosmetics, break overly long lines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23959 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 08:11:18 +00:00
ivo a5bda2e7af replace ^I by $TAB now that TAB is global
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23958 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 08:06:37 +00:00
ivo 446403aa3d only test for stupid code and reserved identifiers if there are any .c or .h
files


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23957 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 07:55:22 +00:00
ivo c5bf6bb1bd 10l, forgot to make TAB global
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23956 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 07:49:24 +00:00
ivo 59e2d4d3c9 Test for reserved identifiers.
Identifiers with two initial underscores or an initial underscore followed by
an uppercase letter are reserved globally for use by the compiler.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23955 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-31 07:45:06 +00:00
ivo 4b2e3c4a82 Add test for GNUisms
It currently tests for case ... ranges only, but other tests (like GNU
extensions to libc) can be added later



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23947 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-30 18:08:26 +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
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 cf59dbbd17 Mark main() function as a function that takes no parameters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23682 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-27 23:04:36 +00:00
diego 7f811fc47b Fix "control reaches end of non-void function" warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23679 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-27 13:04:29 +00:00
diego dc208e99cb Fix unused variable warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23678 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-27 13:01:43 +00:00
diego 818623b090 Fix implicit declaration of function warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23677 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-27 13:00:14 +00:00
ivo 78443eecf2 test for tab characters
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23253 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 17:34:31 +00:00
ivo 10a128ac7b do not run stupid code checks if chfilelist is empty
(i.e. it is run on non-c code only)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23251 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-07 17:17:10 +00:00
diego b8dcfde2dc Move netstream documentation into TOOLS/README.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22951 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-09 11:54:03 +00:00
diego bf3fff69ca Move TOOLS/cpuinfo.c into the root directory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22950 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-09 11:30:26 +00:00
diego cdcae64dc0 Ignore netstream and fix its compilation; remove object files on make clean.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22874 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 09:45:26 +00:00
diego c38e260ff8 Move netstream.c out of its single-file subdirectory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22873 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 09:39:32 +00:00
diego 8bf84ebd46 Remove unnecessary dependencies.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22872 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 09:28:04 +00:00
diego dbc4aa5427 Get netstream somewhat closer to linking.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22871 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 09:24:30 +00:00
diego 5c3df05c8c Don't compile cpuinfo and fastmemcpybench by default.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22864 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-31 23:01:53 +00:00
diego 181b648489 Sync with removed tools.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22861 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-31 14:22:44 +00:00
diego a2171395a4 Remove obsolete TV output tools.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22860 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-31 14:21:06 +00:00
diego e40f658344 Remove unused/nonworking wallpaper setting utility.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22859 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-31 14:17:31 +00:00
diego aa4c8c1ccd Remove unused benchmarking scripts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22858 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-31 14:15:20 +00:00
diego 1b06161629 Remove obsolete bitmap font tools.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22857 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-31 14:14:28 +00:00
diego c5bdfbc886 Remove obsolete/unnecessary/trivial scripts and programs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22856 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-31 14:10:44 +00:00
gpoirier fdf3087db4 document edgedetect.fp, emboss.fp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22833 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-27 08:06:20 +00:00
diego 387b2c0880 Merge realcodecs/ documentation into the README.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22825 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-25 22:36:26 +00:00
diego ddb2fb4ba9 Use the top-level TOOLS Makefile to build the Real codecs wrappers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22824 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-25 22:36:08 +00:00
rtogni 5bee3cce05 Add description of realcodecs subdir
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22822 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-25 19:07:50 +00:00
diego 7836116f5e Remove files maintained by Reimar that he no longer sees a use for.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22796 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-24 13:17:39 +00:00
diego f9e283e091 Add missing $(EXESUF).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22763 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-20 01:35:53 +00:00
diego 1bf19586f1 Add vfw2menc to the Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22761 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-20 01:30:48 +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 c590354060 Add #include <string.h> to fix the following warning:
gltest.c:157: warning: implicit declaration of function `memset'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22756 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-20 01:08:58 +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
diego 25cfa15b4b Simplify Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22744 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-19 11:50:03 +00:00
diego cc27c33317 Bring somewhat closer to linking, still won't work, though.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22659 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 00:28:59 +00:00
diego d4d454e307 Simplify link command.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22658 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 00:28:30 +00:00
diego 1d202f4de6 Bring netstream somewhat closer to linking, still won't work.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22657 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-17 00:26:40 +00:00