summaryrefslogtreecommitdiff
path: root/src/libreal/real_common.c
AgeCommit message (Collapse)Author
2007-03-17Merge the two real binary codecs plugins in a single plugin that handles ↵Diego 'Flameeyes' Pettenò
both audio and video. CVS patchset: 8703 CVS date: 2007/03/17 15:45:37
2007-03-17Instead of relying on FreeBSD being the only system not having __environ ↵Diego 'Flameeyes' Pettenò
stderr ___brk_addr and __ctype_b, look for them during ./configure stage. Also check for alternatives, and check for compiler's weak aliasing support only if it's actually going to be used. CVS patchset: 8696 CVS date: 2007/03/17 06:11:30
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-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