Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
30563:007b3397591f | 30564:2b9abdf8f6bf |
---|---|
80 static int initialized=0; | 80 static int initialized=0; |
81 static uint8_t *buffer = NULL; | 81 static uint8_t *buffer = NULL; |
82 static int bufsz = 0; | 82 static int bufsz = 0; |
83 #ifdef CONFIG_WIN32DLL | 83 #ifdef CONFIG_WIN32DLL |
84 static int dll_type = 0; /* 0 = unix dlopen, 1 = win32 dll */ | 84 static int dll_type = 0; /* 0 = unix dlopen, 1 = win32 dll */ |
85 #endif | |
86 | |
87 static void *__builtin_vec_new(unsigned long size) | |
88 { | |
89 return malloc(size); | |
90 } | |
91 | |
92 static void __builtin_vec_delete(void *mem) | |
93 { | |
94 free(mem); | |
95 } | |
96 | |
97 static void __pure_virtual(void) | |
98 { | |
99 printf("FATAL: __pure_virtual() called!\n"); | |
100 // exit(1); | |
101 } | |
102 | |
103 #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) | |
104 void ___brk_addr(void) {exit(0);} | |
105 char **__environ={NULL}; | |
106 #undef stderr | |
107 FILE *stderr=NULL; | |
108 #endif | 85 #endif |
109 | 86 |
110 // to set/get/query special features/parameters | 87 // to set/get/query special features/parameters |
111 static int control(sh_video_t *sh,int cmd,void* arg,...){ | 88 static int control(sh_video_t *sh,int cmd,void* arg,...){ |
112 // switch(cmd){ | 89 // switch(cmd){ |