summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-03-16Always pass alternate, and avoid checking for .6.0.Diego 'Flameeyes' Pettenò
CVS patchset: 8690 CVS date: 2007/03/16 22:49:16
2007-03-16Actually, drv3.so.6.0 is still needed to be checked for the Alpha codecs, ↵Diego 'Flameeyes' Pettenò
but as those are the oldest ones, check drvc.so for autodetection, only. CVS patchset: 8689 CVS date: 2007/03/16 22:46:49
2007-03-16Add proper support for disabling Real binary codecs support and add a ↵Diego 'Flameeyes' Pettenò
parameter to define a codecs path during configure stage, rather than probing at runtime. CVS patchset: 8688 CVS date: 2007/03/16 22:32:13
2007-03-16Sigh, remove wrong paste.Diego 'Flameeyes' Pettenò
CVS patchset: 8687 CVS date: 2007/03/16 22:28:48
2007-03-16real_codecs_path has always to be declared.Diego 'Flameeyes' Pettenò
CVS patchset: 8686 CVS date: 2007/03/16 22:28:25
2007-03-16Don't check only for drv3.so.6.0, as that is not present for x86-64 or ↵Diego 'Flameeyes' Pettenò
PowerPC Real codecs. CVS patchset: 8685 CVS date: 2007/03/16 22:26:54
2007-03-16If REAL_CODEC_PATH is defined, use that as only default path, so that ↵Diego 'Flameeyes' Pettenò
distributions can reduce the code used in their packages, and limit the path where to load the drivers by default. CVS patchset: 8684 CVS date: 2007/03/16 22:14:57
2007-03-16Move the wrapper to open the real codecs in the common unit, and assume that ↵Diego 'Flameeyes' Pettenò
the alternative name is always the same with .6.0 at the end. Prefer the full name to the reduced one. CVS patchset: 8683 CVS date: 2007/03/16 21:37:58
2007-03-16Move autodetection of Real codecs path to the common code unit, and rewrite toDiego 'Flameeyes' Pettenò
a) minimise the number of stat() calls happening; b) support FreeBSD paths. CVS patchset: 8682 CVS date: 2007/03/16 20:45:21
2007-03-16For FreeBSD support, alias the __environ and stderr symbols, unavailable ↵Diego 'Flameeyes' Pettenò
there, to their equivalent symbols. This could be improved by adding a configure-time check for this. CVS patchset: 8681 CVS date: 2007/03/16 20:21:40
2007-03-16Move the __builtin functions in a different unit, and define them only on ↵Diego 'Flameeyes' Pettenò
Alpha as that's the only architecture for which the binary codecs available on MPlayer site are needing them. Newer versions needs not these symbols, and for safety, I'd rather avoid messing with the global namespace. CVS patchset: 8679 CVS date: 2007/03/16 20:02:33
2007-03-16There's no need to check if the shared object to open is 32 or 64 bits, as ↵Diego 'Flameeyes' Pettenò
dlopen() will not load a codec if it's not loadable in the current process (which means it won't load 64-bit codecs on 32-bit xine, or 32-bit codecs on 64-bit xine). CVS patchset: 8678 CVS date: 2007/03/16 19:31:57
2007-03-16Use stdlib.h rather than malloc.h.Diego 'Flameeyes' Pettenò
CVS patchset: 8677 CVS date: 2007/03/16 17:15:56
2007-03-16Fix FreeBSD PR 91728 (problem with ioctl() request parameter being unsigned ↵Diego 'Flameeyes' Pettenò
long rather than int). This patch is less invasive and portable. CVS patchset: 8676 CVS date: 2007/03/16 17:13:57
2007-03-16Move netinet/in.h include down the block; this is currently patched by ↵Diego 'Flameeyes' Pettenò
FreeBSD ports, and makes no functional change of sort on Linux. CVS patchset: 8675 CVS date: 2007/03/16 16:32:58
2007-03-16Collapse X_LIBS, X_PRE_LIBS, -lXext and -lX11 in a single X_LIBS variable ↵Diego 'Flameeyes' Pettenò
when using non-pkg-config based discovery of X11 libraries; also check for xext together with x11 with pkg-config. This reduces the list of libraries to add to _LIBADD for video output plugins, and should solve the problems with -lXext being linked in with X disabled. CVS patchset: 8666 CVS date: 2007/03/16 00:01:31
2007-03-12Allow DTS audio tracks in Matroska files. Sample reported by Stefan Monov.Diego 'Flameeyes' Pettenò
CVS patchset: 8663 CVS date: 2007/03/12 16:27:21
2007-03-10Add unistd.h include for the write() function. Thanks to Manfred Tremmel for ↵Diego 'Flameeyes' Pettenò
reporting. CVS patchset: 8662 CVS date: 2007/03/10 17:25:13
2007-03-10When hstrerror() is found in libresolv, link it where it is used. Patch by ↵Diego 'Flameeyes' Pettenò
Albert Lee. CVS patchset: 8660 CVS date: 2007/03/10 00:57:30
2007-03-10Use two-step lookup of wrapper_local to fix assembler errors. Patch by ↵Diego 'Flameeyes' Pettenò
Albert Lee. CVS patchset: 8659 CVS date: 2007/03/10 00:57:00
2007-03-10Don't use Solaris workarounds on other OSes (namely NetBSD). Patch by Sergey ↵Diego 'Flameeyes' Pettenò
Svishchev, see bug #1667848. CVS patchset: 8658 CVS date: 2007/03/10 00:55:14
2007-03-10Add support for NetBSD to src/input/input_cdda.c, patch by Sergey Svishchev.Diego 'Flameeyes' Pettenò
CVS patchset: 8657 CVS date: 2007/03/10 00:48:59
2007-03-10 * Security fixes:Diego 'Flameeyes' Pettenò
- Fix heap overflow in DMO loader. (CVE-2007-1246) [bug #1676925] Thanks to Kees Cook for reporting. CVS patchset: 8656 CVS date: 2007/03/10 00:41:34
2007-03-10Use xineplug_LTLIBRARIES rather than lib_LTLIBRARIES so there's no need to ↵Diego 'Flameeyes' Pettenò
rewrite libdir, and set AM_LDFLAGS to $(xineplug_ldflags) so that -Wl,-z,defs will be used, for the xine plugins only (libdha's plugins won't be touched by this). In the case vidix is still getting failures (no way to test here), just set back _LDFLAGS for *that* plugin as they were before, and it would be skipped. CVS patchset: 8652 CVS date: 2007/03/10 00:12:21
2007-03-09Use OSS 3.0 API, and retain compatibility with older versions. Patch by ↵Diego 'Flameeyes' Pettenò
Albert Lee. CVS patchset: 8651 CVS date: 2007/03/09 23:56:42
2007-03-09Properly pass XV_CFLAGS where needed. Patch by Albert Lee.Diego 'Flameeyes' Pettenò
CVS patchset: 8650 CVS date: 2007/03/09 23:55:18
2007-03-09Fix X11 linkage for pgx modules. Patch by Albert Lee.Diego 'Flameeyes' Pettenò
CVS patchset: 8649 CVS date: 2007/03/09 23:53:06
2007-03-09Declare sysi86() function only if it's not declared already. Patch by Albert ↵Diego 'Flameeyes' Pettenò
Lee. CVS patchset: 8648 CVS date: 2007/03/09 23:49:35
2007-03-09Test presence of alloca.h and include it if present; suggested by a patch ↵Diego 'Flameeyes' Pettenò
from Albert Lee. The check is needed to work on FreeBSD. CVS patchset: 8644 CVS date: 2007/03/09 23:18:19
2007-03-04- commit documentation, and header changes for the relicensing of theBastien Nocera
xine-lib XML parser to GNU LGPL CVS patchset: 8643 CVS date: 2007/03/04 16:19:12
2007-03-03Fix a build error, introduced in the previous commit, which bites when buildingDarren Salt
without Freetype support. CVS patchset: 8642 CVS date: 2007/03/03 22:59:37
2007-03-03Free the FreeType object when freeing the OSD object, should solve a ↵Diego 'Flameeyes' Pettenò
possible memory leak. CVS patchset: 8641 CVS date: 2007/03/03 14:12:50
2007-03-03Instead of using a padding of arbitrary 32-bits by hand, use memset with the ↵Diego 'Flameeyes' Pettenò
constant used to provide the padding size. CVS patchset: 8640 CVS date: 2007/03/03 13:33:34
2007-03-03Reduce priority of aac demuxer, so that it doesn't crash when playing online ↵Diego 'Flameeyes' Pettenò
streams that are mp3s (as well as other nasty things that happened before). CVS patchset: 8638 CVS date: 2007/03/03 02:06:09
2007-03-03Add two extra functions (inline as they are just a return statement) that ↵Diego 'Flameeyes' Pettenò
checks if a preamble is of an ID3v2 tag, and that calculate the size of the tag (to avoid repeating the same code over and over and over; the size of the shared object is reduced. Also make demux_flac use the id3.c functions to parse the eventual ID3 header. CVS patchset: 8637 CVS date: 2007/03/03 01:41:16
2007-03-03Add a function to parse a generic ID3v2 tag, and make both demux_aac and ↵Diego 'Flameeyes' Pettenò
demux_mpgaudio use it without repeating the same code. CVS patchset: 8636 CVS date: 2007/03/03 00:58:52
2007-03-03Instead of blindly ignoring the ID3v2 tags, try to parse them. The switch ↵Diego 'Flameeyes' Pettenò
block is repetitive as almost the same is implemented in demux_mpgaudio, so I'll work on that now. CVS patchset: 8635 CVS date: 2007/03/03 00:33:51
2007-03-03Use LOG_MODULE in the log messages, so that during copy and paste I don't ↵Diego 'Flameeyes' Pettenò
end up leaving demux_mpgaudio in demux_flac or demux_aac. CVS patchset: 8634 CVS date: 2007/03/03 00:02:30
2007-03-02Simplify a lot the code for ID3v2 skip.Diego 'Flameeyes' Pettenò
CVS patchset: 8633 CVS date: 2007/03/02 23:46:29
2007-03-02Fixed content type detection for AAC (seekable) streams with ID3v2 tags ↵Diego 'Flameeyes' Pettenò
prefixed clobbering the preview buffer, by skipping over the tag. CVS patchset: 8632 CVS date: 2007/03/02 20:07:33
2007-02-26Fix a possible crash in the eq2 plugin.Darren Salt
The wrong width value was used for the U and V parts of the image. CVS patchset: 8631 CVS date: 2007/02/26 19:15:15
2007-02-25alsa patches from Julian Scheel and Matthias KretzMiguel Freitas
CVS patchset: 8630 CVS date: 2007/02/25 22:33:25
2007-02-25Fix race condition in alsa audio out driver.Miguel Freitas
thanks Kirill Belokurov and Matthias Kretz CVS patchset: 8629 CVS date: 2007/02/25 21:54:03
2007-02-25Remove unused variable.Diego 'Flameeyes' Pettenò
CVS patchset: 8628 CVS date: 2007/02/25 18:04:57
2007-02-25Remove unused code.Diego 'Flameeyes' Pettenò
CVS patchset: 8627 CVS date: 2007/02/25 18:04:08
2007-02-25Instead of __unused, use __attr_unused, to avoid possible collisions with ↵Diego 'Flameeyes' Pettenò
other libraries. CVS patchset: 8626 CVS date: 2007/02/25 18:02:13
2007-02-25Cleanup unused variables.Diego 'Flameeyes' Pettenò
CVS patchset: 8625 CVS date: 2007/02/25 17:57:04
2007-02-25Remove a pointless else clause.Diego 'Flameeyes' Pettenò
CVS patchset: 8624 CVS date: 2007/02/25 17:53:51
2007-02-25Use a bitmask, and ensure that the values reported by wavpack for ↵Diego 'Flameeyes' Pettenò
bits_per_sample and channels (that have sane limits) are inside the boundaries, this way we don't end up eating memory in the case of a malformed wavpack file. While we're at it, also try to compact the size of the wavpack structures. CVS patchset: 8623 CVS date: 2007/02/25 17:52:16
2007-02-25Instead of replicating it over and over, define __unused in attributes.h so ↵Diego 'Flameeyes' Pettenò
that it can be used whenever necessary. CVS patchset: 8622 CVS date: 2007/02/25 17:34:48