Commit Graph

359 Commits

Author SHA1 Message Date
voroshil e9e53f8cd0 Rework of copying samples from directshow codecs.
Using callback function provided by filter to store and process samples from
codec instead of explicit typecast to DS_Filter.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22416 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-02 18:52:10 +00:00
voroshil fe0982a10c Update 3ivx decoder to latest version and allow it to load required library.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22385 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-01 02:26:08 +00:00
voroshil ecd2116704 Fix wrong typecast, which can cause MPlayer crash
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22352 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-26 17:21:17 +00:00
voroshil 0b53d363d4 Replace __MINGW32__ by more consistent WIN32_LOADER. This should fix compilation under
cygwin.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22343 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 14:59:53 +00:00
voroshil 09d15d04c2 Fix loading of mpeg4ds direct show video codec under win32, broken in r22322
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22325 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-23 16:30:10 +00:00
voroshil fe35a2d081 Free AM_MEDIA_TYPE structure content when CEnumMediaTypes object is destroyed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22324 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-23 10:59:54 +00:00
voroshil a98fcdb7b3 Moving duplicated (and sometimes wrong) AM_MEDIA_TYPE related code into separate file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22323 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-23 09:58:01 +00:00
voroshil e33a1695ba Fixed loading of VoxWare and wma9sp binary audio codecs using dshow engine.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22322 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-23 08:07:07 +00:00
rtogni 656c22ca16 Precent overflow of this->m_sVhdr->bmiHeader buffer, may have been
exploitable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22205 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-11 17:57:02 +00:00
rtogni 2ea691d6f3 Precent overflow of this->m_sVhdr->bmiHeader buffer, may have been
exploitable.
Reported by Moritz Jodeit


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22204 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-11 17:55:49 +00:00
voroshil 99c144b6de Doxygen comments for used DirectShow methods.
Info was got from DirectShow SDK.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22046 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 16:53:33 +00:00
voroshil 91629bc111 fix overlooked debug message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22035 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 17:01:54 +00:00
voroshil f722b60a29 Changing debug messages and renaming method names according to their
implementations.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22034 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 16:41:01 +00:00
voroshil e83175521f fix typos from previous commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22033 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 16:28:16 +00:00
voroshil 3cf9c58559 Cosmetics. Doxygen comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22032 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 15:49:53 +00:00
gpoirier b74e51f49c Remove illegal definition of underscored-prefixed symbol "__MODULE__":
All underscored-prefixed symbols have the right re-defined by the compiler, so it's definitely not safe to use any.
ICC doesn't seem to like it, GCC doesn't seem to care.
Original thread:
date: Jan 25, 2007 2:41 PM
subject: [MPlayer-dev-eng] [PATCH] remove illegal underscored-prefixed symbols
AND
date: 01/25/2007 11:43 AM
subject: Re: [MPlayer-dev-eng] [PATCH] compiling with Intel C


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22019 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-26 09:21:22 +00:00
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