1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 09:02:38 +00:00
Commit Graph

343 Commits

Author SHA1 Message Date
reimar
a8753ff236 Fix crashes in loader code: There is still some code that can not handle omitted frame pointers.
And next time think thrice before changing loader Makefiles!!!


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21640 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-16 23:59:06 +00:00
reimar
190f080791 mmap memory area for generated code to avoid crashes on machines which
support noexec


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21478 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-03 20:26:00 +00:00
reimar
80439005c7 Fix 21381, make sure gcc does not make any ip-relative calls or similar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21477 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-03 19:49:39 +00:00
reimar
9e9d77018e Get rid of stubs.S, move code to inline asm.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21384 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 12:56:52 +00:00
reimar
2199f67906 Cosmetics: remove unused and commented out add_stub function header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21383 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 12:55:17 +00:00
reimar
8f874369b5 Some extra checks and safety space for add_stub function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21382 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 12:44:05 +00:00
reimar
383008da88 Change add_stub code to also work without -fomit-frame-pointer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21381 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 12:20:05 +00:00
diego
bbd224d152 Remove #ifdef __OpenBSD__, there is no indication this is needed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21356 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-28 12:46:38 +00:00
diego
e871b9fa88 wrapper.S should be compiled on non-Darwin, non-Windows systems.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21331 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 16:47:27 +00:00
reimar
8a0d93d89e Remove unused unk_exp1 loader asm code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21329 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 16:17:29 +00:00
diego
0e817305fa simplify test target
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21314 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 11:25:15 +00:00
nplourde
fc59977ac9 fix compilation for win32 dll codec support for intel osx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21306 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 02:44:06 +00:00
diego
eabe7092f7 Rename config.h --> debug.h and include config.h explicitly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21277 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 18:33:41 +00:00
diego
dc2be42703 Merge common parts of all Makefiles into one file included by all.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21275 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 18:12:36 +00:00
uau
a5ddf3c531 Revert r21251 (moving loader/config.h contents to main config.h).
There are #ifdef TRACE tests in libav* and defining TRACE in toplevel
config.h breaks things.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21265 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 13:17:50 +00:00
reimar
7142e36d1f Remove useless fd parameter for mmap_anon
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21264 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 13:09:46 +00:00
reimar
7d6341459a Fix loader code: closed .dll file handles when it should not
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21262 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 13:02:02 +00:00
reimar
04459fd6a3 open /dev/zero left over from mmap_anon patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21260 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 12:55:09 +00:00
diego
33d70768f9 Move contents of loader/config.h to configure/config.h, there are
multiple files by that name, this can cause problems.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21251 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 20:53:43 +00:00
diego
293c11d3b2 There are no more .depend files in subdirectories.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21234 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 17:31:07 +00:00
diego
27b0177662 Remove superfluous comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21222 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 16:12:36 +00:00
nplourde
ac04dcd625 added mmap_anon to osdep lib. Used in loader for now
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21203 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 01:22:20 +00:00
diego
58a9204e79 Make loader Makefile non-recursive.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21201 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 00:31:07 +00:00
diego
cd18aec18a Use $@ and $^ to designate target and prerequisites.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21200 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 00:12:08 +00:00
diego
4f36a70cd2 cosmetics: Move around targets for consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21199 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 00:09:39 +00:00
diego
3584246d2d Remove superfluous suffix rule.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21198 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 00:08:15 +00:00
diego
739bd0d941 Handle stubs.s like all other source files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21197 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-24 23:49:30 +00:00
diego
15ea8dba89 Remove .depend on distclean.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21195 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-24 20:20:26 +00:00
diego
d7a50788df Clean up CFLAGS handling.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21194 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-24 20:19:29 +00:00
diego
15597c329f Remove bug workarounds for ancient gcc and libc versions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21185 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-24 00:42:44 +00:00
diego
cf4bf03dc2 Unify dep/depend targets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21096 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-20 11:18:01 +00:00
reimar
5f82784a5c Hack to make wrapper.S be compiled again. Someone who knows make please fix properly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20851 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-10 22:08:27 +00:00
diego
3c91c8d573 Add standard depend target.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20843 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-10 18:31:12 +00:00
diego
cfe0d9ff92 Remove loader_objfix.sh hack, it's only needed for very old OpenBSD versions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20842 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-10 18:28:53 +00:00
diego
a70fd19af3 Use default variable names.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20841 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-10 18:27:33 +00:00
diego
6d06eb4082 Remove redundant variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20840 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-10 18:19:33 +00:00
rtogni
13ecb664fb Dummy EnumDisplaySettingsA, required by frapsvid.dll 2.8.1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20668 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-04 16:25:32 +00:00
diego
d2398d1d28 Remove reference to non-existent variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19502 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-22 23:23:37 +00:00
diego
b02e7924b9 Move all internal -I parameters to the front of CFLAGS to avoid using external
header files that happen to have the same name as internal ones.
based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19426 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-17 17:19:56 +00:00
diego
4ceb255a7d consistency cosmetics: Add -DNOAVIFILE_HEADERS to CFLAGS instead of to INCLUDE.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19417 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-16 21:01:29 +00:00
diego
f7d4dd174b OPTFLAGS already includes EXTRA_INC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19042 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-12 17:58:07 +00:00
reynaldo
132173bbf0 get_path as const, patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18894 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-03 23:27:37 +00:00
reynaldo
9d9a15d185 rm unnecesary casts from void* - part 2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18883 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 03:59:36 +00:00
reynaldo
c71983202c gets ride of a few more sizeof(char)s
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18862 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 04:24:07 +00:00
diego
57f3213401 CVS --> Subversion in copyright notices
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18786 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-22 13:34:00 +00:00
banan
4d130db787 Nop some instructions causing the vfwvp6 dll encoder to crash.
Now mencoder input.avi -ovc vfw -xvfwopts codec=vp6vfw.dll -o done.avi should work.
VP6 in flv doesn't work yet.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18629 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 18:18:57 +00:00
reimar
3110ad4865 Fix runtime-patching code to take into account the address when the codec is loaded.
Fixes MPlayer claiming things like "Unsupported VP6 version" under FreeBSD 6


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18618 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 13:12:11 +00:00
corey
fe633fe1ea Change "Supress" to "Suppress" in a couple comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18614 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 00:15:28 +00:00
rtogni
c7ff0c643a Support WVC1 decoding via dmo binary codec wvc1dmod.dll
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18581 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 18:41:01 +00:00
diego
4b64ef7e8e Remove now obsolete .cvsignore files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-02 11:24:33 +00:00