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