summaryrefslogtreecommitdiff
path: root/src/libreal/xine_decoder.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-16 20:02:33 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-16 20:02:33 +0000
commitf07c6cb7930d9f6e9842cc671ed86f687d456e57 (patch)
tree9e73221041386779a4c5a731b991edb8084df643 /src/libreal/xine_decoder.c
parent51d097f9144193c98d881f14c4e4bd6b579574f2 (diff)
downloadxine-lib-f07c6cb7930d9f6e9842cc671ed86f687d456e57.tar.gz
xine-lib-f07c6cb7930d9f6e9842cc671ed86f687d456e57.tar.bz2
Move the __builtin functions in a different unit, and define them only on 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
Diffstat (limited to 'src/libreal/xine_decoder.c')
-rw-r--r--src/libreal/xine_decoder.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/libreal/xine_decoder.c b/src/libreal/xine_decoder.c
index 28770636b..779f577e2 100644
--- a/src/libreal/xine_decoder.c
+++ b/src/libreal/xine_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.86 2007/03/16 19:31:57 dgp85 Exp $
+ * $Id: xine_decoder.c,v 1.87 2007/03/16 20:02:33 dgp85 Exp $
*
* thin layer to use real binary-only codecs in xine
*
@@ -522,23 +522,7 @@ static void dispose_class (video_decoder_class_t *this) {
free (this);
}
-/*
- * some fake functions to make real codecs happy
- */
-void *__builtin_vec_new(uint32_t size) EXPORTED;
-void __builtin_vec_delete(void *mem) EXPORTED;
-void __pure_virtual(void) EXPORTED;
-void *__builtin_vec_new(uint32_t size) {
- return malloc(size);
-}
-void __builtin_vec_delete(void *mem) {
- free(mem);
-}
-void __pure_virtual(void) {
- lprintf("libreal: FATAL: __pure_virtual() called!\n");
- /* exit(1); */
-}
static void *init_class (xine_t *xine, void *data) {