Commit Graph

11 Commits

Author SHA1 Message Date
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
diego 7d9ec17fd4 Mark modified imported files as such to comply more closely with GPL §2a.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15179 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-16 12:51:09 +00:00
nicodvb befb5ecec6 added support for ATSC tuner and conf.file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14383 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 09:43:10 +00:00
nicodvb f15eacc027 added forgotten dvb-t params lp_coderate and hierarchy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13156 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-26 19:38:16 +00:00
nicodvb fc9dc72769 added multi-pid parsing code (up to 15), pid 0 is always added (for the PAT)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12804 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-12 20:52:02 +00:00
nicodvb daec5ef452 new configuration structure, gcc warn silencing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12310 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-26 21:22:33 +00:00
attila d578d8c865 Compliance with the DVB power management specification (doesn't close
the tuner after having tuned).
This permits to remove the parameter dvb_shutdown_timeout=0 to the
module dvb-core and ultimately
shuts down the card when the tuner isn't used.
patch by Nico <nsabbi@tiscali.it>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11873 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-29 10:36:33 +00:00
arpi d891bc11cc this patch fixes
1)  some bugs introduced in the tuner autodetection and in the channel-parsing functions,
3) retries reading when the mplayer/mencoder don't read fast enough (sooner it exited)
but especially
4) makes the stream compliant with the new, modular stream api (the one
currently in CVS is not and is totally unreachable).
[and maybe more, next time please include cvslog in patch! -- A'rpi]
patch by Nico <nsabbi@libero.it>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10561 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-11 00:02:46 +00:00
colin a0c1ce63c4 fix compilation (uint*_t undefined)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10396 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-08 17:01:44 +00:00
arpi 4753a8565e dvbin_param_on moved
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9612 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-16 22:59:16 +00:00
arpi 5c49cd8e07 this is a combo patch that:
1) adds an experimental TS demuxer to mplayer
2) adds an input (streaming) interface from DVB cards.
It compiles and runs with the following versions of the drivers:
dvb-kernel (HEAD) (with stock kernel 2.4.20) and 0.9.4 (with kernel 2.4.18)
patch by Nico <nsabbi@libero.it>
some cleanups, ts demuxer fixes by me


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9611 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-16 20:13:28 +00:00