rathann
e7db4ccf1a
Patch by Stefan Huehner / stefan % huehner ! org \
...
patch replaces '()' for the correct '(void)' in function
declarations/prototypes which have no parameters. The '()' syntax tell
thats there is a variable list of arguments, so that the compiler cannot
check this. The extra CFLAG '-Wstrict-declarations' shows those cases.
Comments about a similar patch applied to ffmpeg:
That in C++ these mean the same, but in ANSI C the semantics are
different; function() is an (obsolete) K&R C style forward declaration,
it basically means that the function can have any number and any types
of parameters, effectively completely preventing the compiler from doing
any sort of type checking. -- Erik Slagter
Defining functions with unspecified arguments is allowed but bad.
With arguments unspecified the compiler can't report an error/warning
if the function is called with incorrect arguments. -- Måns Rullgård
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 14:08:03 +00:00
ods15
5aac28ec24
new -msglevel option, constrols msg level for every msg module
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17107 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-06 08:42:48 +00:00
ods15
a114511c8f
1000l
...
gcc 2.95 only works with this kind of define, instead of the C99 one.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16622 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-30 05:57:59 +00:00
ods15
fc4d6e617d
mp_msg cleanup.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16619 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-29 05:21:12 +00:00
reimar
6e450282a6
remove all setlocale calls, they break the behaviour of sscanf and
...
strcasecmp, especially with tr_TR locale - and do not seem to be good for
anything.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14543 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-20 13:22:53 +00:00
mosu
50a86fcc34
Output more information about vids, aids, sids, alangs and slangs with -identify. Patch by kiriuja <mplayer-patches@en-directo.net>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14047 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-25 22:24:00 +00:00
diego
bc24d6794a
Translate up to MSGL_STATUS so all normal output is translated.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13366 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-17 12:16:42 +00:00
diego
ba0fc01e35
printf -> mp_msg conversion, first steps
...
patch by The Wanderer <inverseparadox@comcast.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13123 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-24 19:36:17 +00:00
alex
b32c67928a
some updates in muxer api
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11223 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-22 17:04:39 +00:00
alex
cf95c8c295
Handle mp_msg like printf so compiler can report if missing/too much arguments or other errors happen. GCC only
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10737 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 19:15:33 +00:00
albeu
73257ca275
100L forgot this commit for netstream.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9863 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-06 17:18:26 +00:00
mosu
23486f48a5
bunkus: Encapsulated arguments to #define in ( ... ) so that the #defines can be safely used like functions: mydef(flag ? val1 : val2)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8958 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-15 11:16:33 +00:00
anders
1f6c494641
Adding new audio output filter layer libaf
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7569 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-01 06:45:08 +00:00
arpi
a5bd36cf4b
new v4l capture patch by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>:
...
- multithreaded audio/video buffering (I know mplayer crew hates threads
but it seems to me as the only way of doing reliable a/v capture)
- a/v timebase synchronization (sample count vs. gettimeofday)
- "immediate" mode support for mplayer
- fixed colorspace stuff - RGB?? and YUY2 modes now work as expected
- native ALSA audio capture
- separated audio input layer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7059 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-21 21:31:20 +00:00
arpi
f1748e040e
msg/i18n fixes and some printf->mp_msg
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6297 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-06-03 23:23:03 +00:00
albeu
7562937d95
Improvment for spu subtitles.
...
Removed the integreted spudec in vobsub.
Various cleanup/bugfix in vobsub (no more auto palette when a true one is
here)
HW spu rendering moved in spudec because we first need to reassable the
packet before sending them to the hw.
Spudec is now created only if nedded.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6111 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-17 23:47:27 +00:00
albeu
450e68b70f
New MSGT for more printf to mp_msg
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5937 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-02 10:52:30 +00:00
albeu
f76db05d53
Convert printf to mp_msg in the network layer
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5916 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-30 16:58:54 +00:00
arpi
dffeec9ce1
new osd code, use osd objs to follow changes and do minimal updates
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5639 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-15 19:17:12 +00:00
arpi
4d135121ba
MSGT_VFILTER added
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5506 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-06 22:00:27 +00:00
arpi
b50bfd4098
OS/2 workaround
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5288 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-23 20:56:34 +00:00
alex
032dcc2bb3
splitted mp_msg_init and mp_msg_set_level and added i18n support to init
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5221 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-20 15:14:59 +00:00
albeu
ee8f3bc33d
A bug fix in the auto-repeat stuff + moved all printf to mp_msg
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5199 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-19 13:30:16 +00:00
alex
7fcc5156dc
added mp_gettext macro for i18n
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5102 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-15 21:07:48 +00:00
pontscho
c090d0da98
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4819 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-23 15:12:55 +00:00
arpi
fb72ec2eba
MSGT_PLAYTREE added
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4045 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-08 01:52:11 +00:00
arpi
0b3a3ea97e
spudec added
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3822 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-28 01:09:28 +00:00
alex
17dc008bc5
added MSGT_OSDEP
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3086 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-23 16:09:05 +00:00
alex
6b42f644f2
fixes for vivo
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2788 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-09 22:04:09 +00:00
arpi
894366d9a6
MSGT_MENCODER added
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2621 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-02 01:35:27 +00:00
arpi
37f9516ac1
cache2 added
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2371 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-22 15:40:07 +00:00
arpi
2f6b07dba8
all error/warn/info messages moved to help_mp-en.h for translation
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1974 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-09-26 21:35:14 +00:00
arpi
5940a9e5d9
DVD added
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1594 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-20 20:14:10 +00:00
atlka
4e876e1d56
modifications to use variable number of arguments in #define with GCC
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1569 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-17 07:26:07 +00:00
arpi
22effda726
updated
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1567 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-17 00:39:49 +00:00
arpi
e9596e2405
constans shortend
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1564 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-16 22:39:46 +00:00
arpi
d3d2c67a04
new message printing system
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1563 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-16 22:13:20 +00:00