mplayer.git
11 years agocosmetics: typo fix
diego [Thu, 23 Oct 2008 16:23:42 +0000 (16:23 +0000)]
cosmetics: typo fix

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27816 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoremove outdated message about outfmt=i420
compn [Thu, 23 Oct 2008 15:36:59 +0000 (15:36 +0000)]
remove outdated message about outfmt=i420

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27815 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoSH4 is an architecture, not a CPU extension.
diego [Thu, 23 Oct 2008 10:58:47 +0000 (10:58 +0000)]
SH4 is an architecture, not a CPU extension.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27814 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoAdd ARM pld instruction test for FFmpeg ARM optimizations.
diego [Thu, 23 Oct 2008 09:53:08 +0000 (09:53 +0000)]
Add ARM pld instruction test for FFmpeg ARM optimizations.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27813 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoIWMMXT optimizations were removed from our internal libmpeg2 copy, so now
diego [Wed, 22 Oct 2008 23:39:39 +0000 (23:39 +0000)]
IWMMXT optimizations were removed from our internal libmpeg2 copy, so now
remove it from the library interface code as well.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27812 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoTry to improve binary codec pack installation instructions.
diego [Wed, 22 Oct 2008 17:34:39 +0000 (17:34 +0000)]
Try to improve binary codec pack installation instructions.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27811 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoincrease the max RTP packet size to 5MB as modern Elphel
attila [Wed, 22 Oct 2008 16:08:26 +0000 (16:08 +0000)]
increase the max RTP packet size to 5MB as modern Elphel
cameras do produce such huge packets.
Requested by Alexandre Poltorak

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27810 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoDetermine default CD/DVD device in configure instead of using an #ifdef jungle.
diego [Tue, 21 Oct 2008 07:02:25 +0000 (07:02 +0000)]
Determine default CD/DVD device in configure instead of using an #ifdef jungle.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27809 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMake cpuinfo.c compile under MinGW64
reimar [Mon, 20 Oct 2008 18:08:10 +0000 (18:08 +0000)]
Make cpuinfo.c compile under MinGW64

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27808 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoReplace typeof by __typeof__, the former is a non-portable GNU extension.
diego [Mon, 20 Oct 2008 09:55:38 +0000 (09:55 +0000)]
Replace typeof by __typeof__, the former is a non-portable GNU extension.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27807 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoTranslate a Hungarian comment, thanks to Denes Balatoni.
diego [Sun, 19 Oct 2008 20:02:21 +0000 (20:02 +0000)]
Translate a Hungarian comment, thanks to Denes Balatoni.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27806 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoConvert typeof keyword into __typeof__
conrad [Sun, 19 Oct 2008 18:56:35 +0000 (18:56 +0000)]
Convert typeof keyword into __typeof__
typeof is a gcc extension and the former is not accepted in C99 without
GNU extensions enabled (e.g. via -fasm).
This fixes compilation on PPC.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27805 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoAvoid CreateThread and especially TerminateThread since they cause a memleak.
reimar [Sun, 19 Oct 2008 18:05:45 +0000 (18:05 +0000)]
Avoid CreateThread and especially TerminateThread since they cause a memleak.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27804 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove useless casts.
reimar [Sun, 19 Oct 2008 17:28:23 +0000 (17:28 +0000)]
Remove useless casts.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27803 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoImprove error message when screen width and height are not set.
diego [Sun, 19 Oct 2008 11:47:46 +0000 (11:47 +0000)]
Improve error message when screen width and height are not set.
patch by Christian Ohm, chr.ohm gmx net

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27802 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoClarify screenw/screenh options, patch by Christian Ohm, chr.ohm gmx net.
diego [Sun, 19 Oct 2008 11:27:10 +0000 (11:27 +0000)]
Clarify screenw/screenh options, patch by Christian Ohm, chr.ohm gmx net.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27801 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoimprove documentation of latest x264's options
gpoirier [Sat, 18 Oct 2008 21:11:44 +0000 (21:11 +0000)]
improve documentation of latest x264's options

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27800 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoUse av_malloc/av_free for audio-related buffers to avoid crashes due to
reimar [Sat, 18 Oct 2008 18:54:05 +0000 (18:54 +0000)]
Use av_malloc/av_free for audio-related buffers to avoid crashes due to
insufficient alignment on systems without memalign.
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2008-October/058743.html

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27799 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agopci.c includes dha.h, remove redundant MAX_* defines
ranma [Sat, 18 Oct 2008 16:07:47 +0000 (16:07 +0000)]
pci.c includes dha.h, remove redundant MAX_* defines

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27798 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMAX_PCI_DEVICES 64 is not enough on my system (even though lspci only shows 25 device...
ranma [Sat, 18 Oct 2008 16:07:18 +0000 (16:07 +0000)]
MAX_PCI_DEVICES 64 is not enough on my system (even though lspci only shows 25 devices), upped to 256

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27797 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agofixed image format detection for 15 bit color depths
faust3 [Fri, 17 Oct 2008 10:01:44 +0000 (10:01 +0000)]
fixed image format detection for 15 bit color depths

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27796 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: Reorganize config.h. Remove pointless comments, group together
diego [Thu, 16 Oct 2008 20:44:05 +0000 (20:44 +0000)]
cosmetics: Reorganize config.h. Remove pointless comments, group together
options in sensible parts and order them alphabetically.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27795 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agotypo: _dev_dvd_openbsd --> _def_dvd_openbsd
diego [Thu, 16 Oct 2008 20:40:34 +0000 (20:40 +0000)]
typo: _dev_dvd_openbsd --> _def_dvd_openbsd

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27794 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoCreate LIBDIR for binary codecs upon make install.
diego [Thu, 16 Oct 2008 20:25:41 +0000 (20:25 +0000)]
Create LIBDIR for binary codecs upon make install.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27793 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMove dcbzl definition to the FFmpeg section of config.h where it belongs.
diego [Thu, 16 Oct 2008 20:23:22 +0000 (20:23 +0000)]
Move dcbzl definition to the FFmpeg section of config.h where it belongs.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27792 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoReplace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
diego [Thu, 16 Oct 2008 20:17:56 +0000 (20:17 +0000)]
Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
We were using an inconsistent mix of the three variants and 'volatile' should
be the most correct and portable variant.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRevert declaring ThreadProc as void, it breaks the WINAPI.
diego [Thu, 16 Oct 2008 19:24:21 +0000 (19:24 +0000)]
Revert declaring ThreadProc as void, it breaks the WINAPI.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27790 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoAdd -nomsgcolor option to match -msgcolor, patch by swell.k gmail com.
diego [Thu, 16 Oct 2008 19:12:57 +0000 (19:12 +0000)]
Add -nomsgcolor option to match -msgcolor, patch by swell.k gmail com.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27789 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoChange all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.
diego [Thu, 16 Oct 2008 18:59:27 +0000 (18:59 +0000)]
Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.
Neither variant is valid C99 syntax, but __asm__ is the most portable variant.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMove DEFAULT_CDROM_DEVICE/DEFAULT_DVD_DEVICE to stream.h where it belongs.
diego [Thu, 16 Oct 2008 18:28:38 +0000 (18:28 +0000)]
Move DEFAULT_CDROM_DEVICE/DEFAULT_DVD_DEVICE to stream.h where it belongs.
config.h should only contain option definitions, no logic.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27787 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMove likely/unlikely macros to libmpdemux/demuxer.h where they are used.
diego [Thu, 16 Oct 2008 18:26:01 +0000 (18:26 +0000)]
Move likely/unlikely macros to libmpdemux/demuxer.h where they are used.
config.h should only contain option definitions, no logic.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27786 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMove SCREEN_SIZE_X/Y definition to libmpcodecs/vd.c where it is used.
diego [Thu, 16 Oct 2008 18:24:18 +0000 (18:24 +0000)]
Move SCREEN_SIZE_X/Y definition to libmpcodecs/vd.c where it is used.
config.h should only contain option definitions, no logic.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27785 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMove X11_FULLSCREEN definition to x11_common.h where it belongs.
diego [Thu, 16 Oct 2008 18:19:36 +0000 (18:19 +0000)]
Move X11_FULLSCREEN definition to x11_common.h where it belongs.
config.h should only contain option definitions, no logic.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27784 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: Merge some preprocessor checks.
diego [Thu, 16 Oct 2008 18:14:35 +0000 (18:14 +0000)]
cosmetics: Merge some preprocessor checks.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27783 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agofixed overlay x and y calculation
faust3 [Thu, 16 Oct 2008 18:13:26 +0000 (18:13 +0000)]
fixed overlay x and y calculation

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27782 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMove attribute_used declaration from config.h to mangle.h where it is useful.
diego [Thu, 16 Oct 2008 18:13:06 +0000 (18:13 +0000)]
Move attribute_used declaration from config.h to mangle.h where it is useful.
config.h should only contain definitions, no logic.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27781 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove pointless attribute_used from variable declaration.
diego [Thu, 16 Oct 2008 18:08:18 +0000 (18:08 +0000)]
Remove pointless attribute_used from variable declaration.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27780 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRename stream/netstream.h to stream/stream_netstream.h; netstream.h to make it
diego [Thu, 16 Oct 2008 17:01:40 +0000 (17:01 +0000)]
Rename stream/netstream.h to stream/stream_netstream.h; netstream.h to make it
clearer that netstream.h belongs to stream_netstream.c.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27779 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoConvert asm keyword into __asm__.
flameeyes [Thu, 16 Oct 2008 13:34:30 +0000 (13:34 +0000)]
Convert asm keyword into __asm__.

Neither the asm() nor the __asm__() keyword is part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).

Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 syntax.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27778 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agosun --> __sun in config.h preprocessor check
diego [Thu, 16 Oct 2008 13:33:29 +0000 (13:33 +0000)]
sun --> __sun in config.h preprocessor check

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27777 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agomisc updates for the Xvid, x264 and AAC sections
diego [Tue, 14 Oct 2008 23:20:10 +0000 (23:20 +0000)]
misc updates for the Xvid, x264 and AAC sections

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27776 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: Move _def_fast_unaligned to the FFmpeg section of config.h.
diego [Tue, 14 Oct 2008 23:15:10 +0000 (23:15 +0000)]
cosmetics: Move _def_fast_unaligned to the FFmpeg section of config.h.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27775 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: Consistently name all header #define variables.
diego [Tue, 14 Oct 2008 23:00:04 +0000 (23:00 +0000)]
cosmetics: Consistently name all header #define variables.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27774 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove some pointless and/or outdated codec documentation sections.
diego [Tue, 14 Oct 2008 22:28:52 +0000 (22:28 +0000)]
Remove some pointless and/or outdated codec documentation sections.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27773 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoHonour differences between src and dst stride for packed yuv
faust3 [Tue, 14 Oct 2008 22:28:19 +0000 (22:28 +0000)]
Honour differences between src and dst stride for packed yuv
patch by Laurent <laurent.aml at gmail.com>

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27772 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove section about containers. Its contents are non-informative, redundant,
diego [Tue, 14 Oct 2008 21:41:25 +0000 (21:41 +0000)]
Remove section about containers. Its contents are non-informative, redundant,
outdated and generally not worth the trouble.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27771 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoUpdate VIDIX vs. svgalib documentation.
diego [Tue, 14 Oct 2008 21:15:59 +0000 (21:15 +0000)]
Update VIDIX vs. svgalib documentation.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27770 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years ago#include necessary libavcodec header and remove duplicated struct declaration.
diego [Tue, 14 Oct 2008 16:04:09 +0000 (16:04 +0000)]
#include necessary libavcodec header and remove duplicated struct declaration.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27769 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoupdate x264's section with r999 of x264
gpoirier [Tue, 14 Oct 2008 09:31:19 +0000 (09:31 +0000)]
update x264's section with r999 of x264

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27768 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove useless '#undef realloc', realloc is not referenced anywhere near.
diego [Tue, 14 Oct 2008 09:04:40 +0000 (09:04 +0000)]
Remove useless '#undef realloc', realloc is not referenced anywhere near.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27767 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove duplicate extern declaration, fixes the warning:
diego [Tue, 14 Oct 2008 08:56:48 +0000 (08:56 +0000)]
Remove duplicate extern declaration, fixes the warning:
libmpcodecs/vf_zrmjpeg.c:73: warning: redundant redeclaration of 'avcodec_initialized'

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27766 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove unused variable ncomps.
diego [Mon, 13 Oct 2008 23:10:42 +0000 (23:10 +0000)]
Remove unused variable ncomps.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27765 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoFix double free in demux_nut, patch by Onur Küçük.
ods15 [Mon, 13 Oct 2008 22:32:20 +0000 (22:32 +0000)]
Fix double free in demux_nut, patch by Onur Küçük.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27764 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoSet HAVE_FAST_UNALIGNED for PowerPC as well, patch by Emanuele Giaquinta.
diego [Mon, 13 Oct 2008 22:25:35 +0000 (22:25 +0000)]
Set HAVE_FAST_UNALIGNED for PowerPC as well, patch by Emanuele Giaquinta.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27763 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove global definition of WIN32 in config.h for Cygwin.
diego [Mon, 13 Oct 2008 16:26:05 +0000 (16:26 +0000)]
Remove global definition of WIN32 in config.h for Cygwin.
Instead just define it for libdvdcss, where it is strictly needed.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27762 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoReplace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.
diego [Mon, 13 Oct 2008 16:23:55 +0000 (16:23 +0000)]
Replace preprocessor check for WIN32 with checks for __MINGW32__ and __CYGWIN__.
This avoids a pointless indirection that only obscures what is really done.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove pointless #ifdef around the whole file, it is just a complicated #if 1.
diego [Mon, 13 Oct 2008 16:06:15 +0000 (16:06 +0000)]
Remove pointless #ifdef around the whole file, it is just a complicated #if 1.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27760 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoDeclare ThreadProc as void, it does not return anything, fixes the warning:
diego [Mon, 13 Oct 2008 15:51:29 +0000 (15:51 +0000)]
Declare ThreadProc as void, it does not return anything, fixes the warning:
stream/cache2.c:364: warning: control reaches end of non-void function

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27759 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove unused function, fixes the warning:
diego [Mon, 13 Oct 2008 15:25:34 +0000 (15:25 +0000)]
Remove unused function, fixes the warning:
stream/tvi_dshow.c:1311: warning: 'reconnect_pins' defined but not used

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27758 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoUnconditionally #include osdep/shem.h, fixes the warnings on Cygwin:
diego [Mon, 13 Oct 2008 15:13:40 +0000 (15:13 +0000)]
Unconditionally #include osdep/shem.h, fixes the warnings on Cygwin:
stream/cache2.c:244: warning: implicit declaration of function `shmem_alloc'
stream/cache2.c:265: warning: implicit declaration of function `shmem_free'

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27757 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoAdd missing Cygwin header, fixes the warning:
diego [Mon, 13 Oct 2008 14:55:01 +0000 (14:55 +0000)]
Add missing Cygwin header, fixes the warning:
get_path.c:151: warning: implicit declaration of function `cygwin_conv_to_full_w
in32_path'

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27756 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove redundantly declared definitions FILE_ANY_ACCESS and CTL_CODE, fixes:
diego [Mon, 13 Oct 2008 14:47:11 +0000 (14:47 +0000)]
Remove redundantly declared definitions FILE_ANY_ACCESS and CTL_CODE, fixes:
vidix/sysdep/libdha_win32.c:34:1: warning: "FILE_ANY_ACCESS" redefined
vidix/sysdep/libdha_win32.c:35:1: warning: "CTL_CODE" redefined

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27755 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoSurround conditionally used function with corresponding #ifdef, fixes:
diego [Mon, 13 Oct 2008 14:40:58 +0000 (14:40 +0000)]
Surround conditionally used function with corresponding #ifdef, fixes:
libvo/vo_gl2.c:681: warning: 'gl_handlekey' defined but not used

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27754 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove redundant variable declaration, fixes the warning:
diego [Mon, 13 Oct 2008 14:38:36 +0000 (14:38 +0000)]
Remove redundant variable declaration, fixes the warning:
libvo/vo_winvidix.c:52: warning: redundant redeclaration of 'hWnd'
libvo/vo_winvidix.c:50: warning: previous declaration of 'hWnd' was here

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27753 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove check for byteswap.h, it was removed from FFmpeg.
diego [Mon, 13 Oct 2008 14:17:25 +0000 (14:17 +0000)]
Remove check for byteswap.h, it was removed from FFmpeg.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27752 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove unused variables.
diego [Sun, 12 Oct 2008 22:12:24 +0000 (22:12 +0000)]
Remove unused variables.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27751 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove redundant declaration of proc_priority.
diego [Sun, 12 Oct 2008 22:11:33 +0000 (22:11 +0000)]
Remove redundant declaration of proc_priority.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27750 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoFilter out .hh and .h files in the C++ dependency generation command.
diego [Sun, 12 Oct 2008 17:18:15 +0000 (17:18 +0000)]
Filter out .hh and .h files in the C++ dependency generation command.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27749 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove useless HAVE_STRCHR definition from config.h.
diego [Sun, 12 Oct 2008 17:14:13 +0000 (17:14 +0000)]
Remove useless HAVE_STRCHR definition from config.h.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27748 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoAdd missing support for some multimedia keys to X11 backend code.
diego [Sun, 12 Oct 2008 15:58:44 +0000 (15:58 +0000)]
Add missing support for some multimedia keys to X11 backend code.
patch by Jorge Lopez, jorgelt gmail com

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27747 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMove socklen_t typedef from config.h to stream/network.h.
diego [Sun, 12 Oct 2008 12:12:41 +0000 (12:12 +0000)]
Move socklen_t typedef from config.h to stream/network.h.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27744 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoDo not provide a prototype for setenv in config.h, we do not provide a
diego [Sat, 11 Oct 2008 08:22:03 +0000 (08:22 +0000)]
Do not provide a prototype for setenv in config.h, we do not provide a
prototype for all the other functions that we have in osdep/.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27743 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: Move some config.h entries to more sensible places.
diego [Fri, 10 Oct 2008 21:56:03 +0000 (21:56 +0000)]
cosmetics: Move some config.h entries to more sensible places.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27742 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: Group codec-, network- and gui-related options together in config.h.
diego [Fri, 10 Oct 2008 05:34:49 +0000 (05:34 +0000)]
cosmetics: Group codec-, network- and gui-related options together in config.h.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27741 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agocosmetics: Group system header and function definitions together in config.h.
diego [Thu, 9 Oct 2008 22:11:56 +0000 (22:11 +0000)]
cosmetics: Group system header and function definitions together in config.h.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27740 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove unused line (and fix an icc warning).
cehoyos [Thu, 9 Oct 2008 17:10:31 +0000 (17:10 +0000)]
Remove unused line (and fix an icc warning).

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27739 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoReplace numeric constants by their defines.
cehoyos [Thu, 9 Oct 2008 17:08:47 +0000 (17:08 +0000)]
Replace numeric constants by their defines.
Fixes icc warning #188: enumerated type mixed with another type

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27738 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMark some symbols in swscale.c as constant.
flameeyes [Thu, 9 Oct 2008 11:13:14 +0000 (11:13 +0000)]
Mark some symbols in swscale.c as constant.

These are only used in swscale_template.c (and thus don't need to be
made extern), and can be declared as ASM constants.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27737 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMark dither_2x2_{8,4} static to swscale.c
flameeyes [Thu, 9 Oct 2008 11:12:38 +0000 (11:12 +0000)]
Mark dither_2x2_{8,4} static to swscale.c

These two tables are not used outside swscale.c even though they are
declared also in yuv2rgb.c.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27736 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMark variation-specific interleaveBytes static.
flameeyes [Thu, 9 Oct 2008 11:11:35 +0000 (11:11 +0000)]
Mark variation-specific interleaveBytes static.

These functions are never called by themselves, the alias
interleaveBytes is used instead.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27735 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoInvert logic for the single-pass in swScale() functions.
flameeyes [Thu, 9 Oct 2008 11:10:30 +0000 (11:10 +0000)]
Invert logic for the single-pass in swScale() functions.

Instead of having a firstTime variable defaulting to 1, have a
warnedAlready defaulting to 0. While this should make no difference in
code speed at runtime, it allows to aggregate the four bytes of that
variable with clip_table in .bss section, rather than issuing a .data
section just for that.

As it is, libswscale require no .data section but .data.rel.ro (that
can be mitigated by prelinking), so the change might actually save one
page of memory at runtime (per process).

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27734 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoChange variable types from int to enum PixelFormat.
cehoyos [Thu, 9 Oct 2008 08:36:04 +0000 (08:36 +0000)]
Change variable types from int to enum PixelFormat.
Fixes icc warning #188: enumerated type mixed with another type

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27733 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoFix channel order for ffmpeg flac codec.
ulion [Thu, 9 Oct 2008 07:46:20 +0000 (07:46 +0000)]
Fix channel order for ffmpeg flac codec.
This patch comes from Andrew de Quincey <adq_dvb at lidskialf dot net>.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27732 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoDo not set src[1] to the palette, it is now in the context
vitor [Wed, 8 Oct 2008 17:48:23 +0000 (17:48 +0000)]
Do not set src[1] to the palette, it is now in the context

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27731 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoAdd a new unscaled PAL8 -> RGB converter.
vitor [Wed, 8 Oct 2008 17:46:22 +0000 (17:46 +0000)]
Add a new unscaled PAL8 -> RGB converter.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27730 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agor27182: apply parameter name change of no-correct-pts from r26842 to man page
kraymer [Wed, 8 Oct 2008 16:22:23 +0000 (16:22 +0000)]
r27182: apply parameter name change of no-correct-pts from r26842 to man page
r27208: dvd:// streams accept the device path in the url; patch by Mathieu SCHROETER mathieu.schroeter gamesover ch
r27230: Give all shell scripts a .sh suffix for consistency.
r27235: moved o option beetwen m* and p*
r27236: another alphabetical order correction
r27334: -border/-noborder are supported by gl/gl2, too, but only on Windows.
r27337: No idea which vos support -noborder how well, though those based on
        X11 or running on Windows _should_ work.
        Just remove that line for now.
r27342: Remove outdated "X11 only" from xineramascreen option and try to make clearer
        what it does and what it does not.
r27348: add list of supported vo's to -xineramascreen

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27729 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoChange one more variable type from int to enum PixelFormat.
aurel [Wed, 8 Oct 2008 11:59:01 +0000 (11:59 +0000)]
Change one more variable type from int to enum PixelFormat.
This one was missing from r27727.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27728 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoChange variable types from int to enum PixelFormat.
cehoyos [Tue, 7 Oct 2008 19:44:39 +0000 (19:44 +0000)]
Change variable types from int to enum PixelFormat.
Fixes icc warning #188: enumerated type mixed with another type

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27727 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove unnecessary HAVE_AV_CONFIG_H #define.
diego [Tue, 7 Oct 2008 08:25:47 +0000 (08:25 +0000)]
Remove unnecessary HAVE_AV_CONFIG_H #define.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27726 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agosync w/r27691
gpoirier [Mon, 6 Oct 2008 14:09:22 +0000 (14:09 +0000)]
sync w/r27691

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27725 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoCorrectly place second const in declaration.
cehoyos [Sun, 5 Oct 2008 23:16:49 +0000 (23:16 +0000)]
Correctly place second const in declaration.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27724 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMove find_backwards_asf_guid asfguid.h to asfheader.c, the only place where
diego [Sun, 5 Oct 2008 21:44:42 +0000 (21:44 +0000)]
Move find_backwards_asf_guid asfguid.h to asfheader.c, the only place where
it is used.  Fixes the following warning:
./libmpdemux/asfguid.h:94: warning: 'find_backwards_asf_guid' defined but not used

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27723 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agogcc-apple specific fallback not necessary anymore
lu_zero [Sun, 5 Oct 2008 21:00:16 +0000 (21:00 +0000)]
gcc-apple specific fallback not necessary anymore
(btw no apple hardware is less than a Intel core, thus it
won't come there w/out disabling all the optimizations)

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27722 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoDisable mp3lib and liba52-internal for icc.
cehoyos [Sun, 5 Oct 2008 20:43:09 +0000 (20:43 +0000)]
Disable mp3lib and liba52-internal for icc.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27721 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoUse HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.
diego [Sun, 5 Oct 2008 16:47:55 +0000 (16:47 +0000)]
Use HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27720 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agosynced with r27718
Gabrov [Sun, 5 Oct 2008 13:43:45 +0000 (13:43 +0000)]
synced with r27718

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27719 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove b5Dither, g5Dither and r5Dither from libswscale.
cehoyos [Sat, 4 Oct 2008 18:50:39 +0000 (18:50 +0000)]
Remove b5Dither, g5Dither and r5Dither from libswscale.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27718 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRevert the removal of the likely/unlikely macros, they are still used.
diego [Sat, 4 Oct 2008 17:55:42 +0000 (17:55 +0000)]
Revert the removal of the likely/unlikely macros, they are still used.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27717 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoMerge variable declaration and export.
diego [Sat, 4 Oct 2008 17:15:39 +0000 (17:15 +0000)]
Merge variable declaration and export.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27716 b3059339-0415-0410-9bf9-f77b7e298cf2

11 years agoRemove g6Dither from libswscale.
cehoyos [Sat, 4 Oct 2008 16:40:35 +0000 (16:40 +0000)]
Remove g6Dither from libswscale.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@27715 b3059339-0415-0410-9bf9-f77b7e298cf2