Commit Graph

27747 Commits

Author SHA1 Message Date
diego 2093097cfb Remove pointless attribute_used from variable declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27780 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:08:18 +00:00
diego 17f509905c 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://svn.mplayerhq.hu/mplayer/trunk@27779 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 17:01:40 +00:00
flameeyes 3679961515 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://svn.mplayerhq.hu/mplayer/trunk@27778 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 13:34:30 +00:00
diego af9d6f2d0e sun --> __sun in config.h preprocessor check
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27777 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 13:33:29 +00:00
diego 392be5a106 misc updates for the Xvid, x264 and AAC sections
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27776 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 23:20:10 +00:00
diego 6e40bc14c9 cosmetics: Move _def_fast_unaligned to the FFmpeg section of config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27775 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 23:15:10 +00:00
diego 883557290d cosmetics: Consistently name all header #define variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27774 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 23:00:04 +00:00
diego 07589781f4 Remove some pointless and/or outdated codec documentation sections.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27773 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 22:28:52 +00:00
faust3 c27f719237 Honour differences between src and dst stride for packed yuv
patch by Laurent <laurent.aml at gmail.com>
 


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27772 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 22:28:19 +00:00
diego aa16036d10 Remove section about containers. Its contents are non-informative, redundant,
outdated and generally not worth the trouble.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27771 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 21:41:25 +00:00
diego a65b36be9d Update VIDIX vs. svgalib documentation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27770 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 21:15:59 +00:00
diego 1a85bf593b #include necessary libavcodec header and remove duplicated struct declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27769 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 16:04:09 +00:00
gpoirier b60ab0c001 update x264's section with r999 of x264
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27768 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 09:31:19 +00:00
diego 49faefb669 Remove useless '#undef realloc', realloc is not referenced anywhere near.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27767 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 09:04:40 +00:00
diego b282622c71 Remove duplicate extern declaration, fixes the warning:
libmpcodecs/vf_zrmjpeg.c:73: warning: redundant redeclaration of 'avcodec_initialized'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27766 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-14 08:56:48 +00:00
diego b9ce738825 Remove unused variable ncomps.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27765 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 23:10:42 +00:00
ods15 505834ccb8 Fix double free in demux_nut, patch by Onur Küçük.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27764 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 22:32:20 +00:00
diego 7b64ef7fd4 Set HAVE_FAST_UNALIGNED for PowerPC as well, patch by Emanuele Giaquinta.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27763 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 22:25:35 +00:00
diego 885a7962ec 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://svn.mplayerhq.hu/mplayer/trunk@27762 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 16:26:05 +00:00
diego 4d644f513c 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://svn.mplayerhq.hu/mplayer/trunk@27761 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 16:23:55 +00:00
diego 8322f0aef1 Remove pointless #ifdef around the whole file, it is just a complicated #if 1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27760 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 16:06:15 +00:00
diego 9214b77133 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://svn.mplayerhq.hu/mplayer/trunk@27759 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 15:51:29 +00:00
diego bc7cf2efd8 Remove unused function, fixes the warning:
stream/tvi_dshow.c:1311: warning: 'reconnect_pins' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27758 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 15:25:34 +00:00
diego c8808af5a0 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://svn.mplayerhq.hu/mplayer/trunk@27757 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 15:13:40 +00:00
diego d5f8f8dc74 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://svn.mplayerhq.hu/mplayer/trunk@27756 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 14:55:01 +00:00
diego e00c1a9e6d 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://svn.mplayerhq.hu/mplayer/trunk@27755 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 14:47:11 +00:00
diego 9992cbd580 Surround conditionally used function with corresponding #ifdef, fixes:
libvo/vo_gl2.c:681: warning: 'gl_handlekey' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27754 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 14:40:58 +00:00
diego 1d5af8c0da 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://svn.mplayerhq.hu/mplayer/trunk@27753 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 14:38:36 +00:00
diego 7559876669 Remove check for byteswap.h, it was removed from FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27752 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 14:17:25 +00:00
diego 79e038985a Remove unused variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27751 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 22:12:24 +00:00
diego 785e8bca87 Remove redundant declaration of proc_priority.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27750 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 22:11:33 +00:00
diego 8f2b2b1b03 Filter out .hh and .h files in the C++ dependency generation command.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27749 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 17:18:15 +00:00
diego 28d7f776ac Remove useless HAVE_STRCHR definition from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27748 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 17:14:13 +00:00
diego 73357cc804 Add missing support for some multimedia keys to X11 backend code.
patch by Jorge Lopez, jorgelt gmail com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27747 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 15:58:44 +00:00
diego ac3b6d090c Move socklen_t typedef from config.h to stream/network.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27744 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-12 12:12:41 +00:00
diego 4ac23d655f 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://svn.mplayerhq.hu/mplayer/trunk@27743 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-11 08:22:03 +00:00
diego 41272e3014 cosmetics: Move some config.h entries to more sensible places.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27742 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-10 21:56:03 +00:00
diego 54a1406b31 cosmetics: Group codec-, network- and gui-related options together in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27741 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-10 05:34:49 +00:00
diego e61c3a381a cosmetics: Group system header and function definitions together in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27740 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 22:11:56 +00:00
cehoyos a6b9c80b25 Remove unused line (and fix an icc warning).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27739 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 17:10:31 +00:00
cehoyos 22bb046adc Replace numeric constants by their defines.
Fixes icc warning #188: enumerated type mixed with another type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27738 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 17:08:47 +00:00
flameeyes 3035850d27 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://svn.mplayerhq.hu/mplayer/trunk@27737 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 11:13:14 +00:00
flameeyes 98fb4aebc2 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://svn.mplayerhq.hu/mplayer/trunk@27736 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 11:12:38 +00:00
flameeyes 46caebfa6e Mark variation-specific interleaveBytes static.
These functions are never called by themselves, the alias
interleaveBytes is used instead.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27735 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 11:11:35 +00:00
flameeyes 3ab65de119 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://svn.mplayerhq.hu/mplayer/trunk@27734 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 11:10:30 +00:00
cehoyos a0d55235a7 Change variable types from int to enum PixelFormat.
Fixes icc warning #188: enumerated type mixed with another type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27733 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 08:36:04 +00:00
ulion 78f37058ff Fix channel order for ffmpeg flac codec.
This patch comes from Andrew de Quincey <adq_dvb at lidskialf dot net>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27732 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 07:46:20 +00:00
vitor 74bb6be453 Do not set src[1] to the palette, it is now in the context
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27731 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-08 17:48:23 +00:00
vitor c51fe849d6 Add a new unscaled PAL8 -> RGB converter.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27730 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-08 17:46:22 +00:00
kraymer ef6c34c086 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://svn.mplayerhq.hu/mplayer/trunk@27729 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-08 16:22:23 +00:00