diff libmpcodecs/vd_realvid.c @ 30564:2b9abdf8f6bf

Revert marking seemingly unused RealAudio/RealVideo-related functions as static. The functions are required to load binary Real codecs, so they need to be kept. Group all functions together in ad_realaud.c because all the functions are used to load audio binaries and only some to load video binaries.
author diego
date Wed, 17 Feb 2010 19:21:28 +0000
parents ad6740b58b0d
children 72ae3dd3aa6e
line wrap: on
line diff
--- a/libmpcodecs/vd_realvid.c	Wed Feb 17 07:06:12 2010 +0000
+++ b/libmpcodecs/vd_realvid.c	Wed Feb 17 19:21:28 2010 +0000
@@ -84,29 +84,6 @@
 static int dll_type = 0; /* 0 = unix dlopen, 1 = win32 dll */
 #endif
 
-static void *__builtin_vec_new(unsigned long size)
-{
-	return malloc(size);
-}
-
-static void __builtin_vec_delete(void *mem)
-{
-	free(mem);
-}
-
-static void __pure_virtual(void)
-{
-	printf("FATAL: __pure_virtual() called!\n");
-//	exit(1);
-}
-
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
-void ___brk_addr(void) {exit(0);}
-char **__environ={NULL};
-#undef stderr
-FILE *stderr=NULL;
-#endif
-
 // to set/get/query special features/parameters
 static int control(sh_video_t *sh,int cmd,void* arg,...){
 //    switch(cmd){