Codebase list faad2 / 8e2ddfc
New upstream version 2.8.6 Fabian Greffrath 6 years ago
8 changed file(s) with 52 addition(s) and 56 deletion(s). Raw diff Collapse all Expand all
0 2.8.6:
01 2.8.5:
12 - another package fix
23 2.8.4:
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for faad2 2.8.5.
2 # Generated by GNU Autoconf 2.69 for faad2 2.8.6.
33 #
44 #
55 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
586586 # Identity of this package.
587587 PACKAGE_NAME='faad2'
588588 PACKAGE_TARNAME='faad2'
589 PACKAGE_VERSION='2.8.5'
590 PACKAGE_STRING='faad2 2.8.5'
589 PACKAGE_VERSION='2.8.6'
590 PACKAGE_STRING='faad2 2.8.6'
591591 PACKAGE_BUGREPORT=''
592592 PACKAGE_URL=''
593593
13431343 # Omit some internal or obsolete options to make the list less imposing.
13441344 # This message is too long to be a string in the A/UX 3.1 sh.
13451345 cat <<_ACEOF
1346 \`configure' configures faad2 2.8.5 to adapt to many kinds of systems.
1346 \`configure' configures faad2 2.8.6 to adapt to many kinds of systems.
13471347
13481348 Usage: $0 [OPTION]... [VAR=VALUE]...
13491349
14141414
14151415 if test -n "$ac_init_help"; then
14161416 case $ac_init_help in
1417 short | recursive ) echo "Configuration of faad2 2.8.5:";;
1417 short | recursive ) echo "Configuration of faad2 2.8.6:";;
14181418 esac
14191419 cat <<\_ACEOF
14201420
15301530 test -n "$ac_init_help" && exit $ac_status
15311531 if $ac_init_version; then
15321532 cat <<\_ACEOF
1533 faad2 configure 2.8.5
1533 faad2 configure 2.8.6
15341534 generated by GNU Autoconf 2.69
15351535
15361536 Copyright (C) 2012 Free Software Foundation, Inc.
20702070 This file contains any messages produced by compilers while
20712071 running configure, to aid debugging if configure makes a mistake.
20722072
2073 It was created by faad2 $as_me 2.8.5, which was
2073 It was created by faad2 $as_me 2.8.6, which was
20742074 generated by GNU Autoconf 2.69. Invocation command line was
20752075
20762076 $ $0 $@
29332933
29342934 # Define the identity of the package.
29352935 PACKAGE='faad2'
2936 VERSION='2.8.5'
2936 VERSION='2.8.6'
29372937
29382938
29392939 cat >>confdefs.h <<_ACEOF
1829518295 # report actual input values of CONFIG_FILES etc. instead of their
1829618296 # values after options handling.
1829718297 ac_log="
18298 This file was extended by faad2 $as_me 2.8.5, which was
18298 This file was extended by faad2 $as_me 2.8.6, which was
1829918299 generated by GNU Autoconf 2.69. Invocation command line was
1830018300
1830118301 CONFIG_FILES = $CONFIG_FILES
1836118361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1836218362 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1836318363 ac_cs_version="\\
18364 faad2 config.status 2.8.5
18364 faad2 config.status 2.8.6
1836518365 configured by $0, generated by GNU Autoconf 2.69,
1836618366 with options \\"\$ac_cs_config\\"
1836718367
77 dnl - mpeg4ip plugin (requires mpeg4ip's libmp4v2 to be installed)
88
99 AC_PREREQ(2.50)
10 AC_INIT(faad2, 2.8.5)
10 AC_INIT(faad2, 2.8.6)
1111 AC_CONFIG_AUX_DIR(.)
1212 AM_INIT_AUTOMAKE([subdir-objects])
1313
2323
2424 Summary: C library and frontend for decoding MPEG2/4 AAC
2525 Name: faad2
26 Version: 2.8.5
26 Version: 2.8.6
2727 Release: 1
2828 License: GPL
2929 Group: Applications/Multimedia
177177 if (memcmp("soun", buf, 4))
178178 {
179179 if (mp4config.verbose.header)
180 fprintf(stderr, "unsuported, skipping\n");
180 fprintf(stderr, "unsupported, skipping\n");
181181 return ERR_UNSUPPORTED;
182182 }
183183 else
5959
6060 #ifdef _WIN32
6161 #pragma pack(push, 8)
62 #ifndef NEAACDECAPI
63 #define NEAACDECAPI __cdecl
64 #endif
62 #define NEAACDECAPI __declspec(dllexport)
6563 #elif defined(__GNUC__) && __GNUC__ >= 4
66 #ifndef NEAACDECAPI
67 #define NEAACDECAPI __attribute__((visibility("default")))
68 #endif
64 #define NEAACDECAPI __attribute__((visibility("default")))
6965 #else
70 #ifndef NEAACDECAPI
71 #define NEAACDECAPI
72 #endif
66 #define NEAACDECAPI
7367 #endif
7468
7569 #define FAAD2_VERSION "unknown"
201195 unsigned char ps;
202196 } NeAACDecFrameInfo;
203197
204 char NEAACDECAPI *NeAACDecGetErrorMessage(unsigned char errcode);
205
206 unsigned long NEAACDECAPI NeAACDecGetCapabilities(void);
207
208 NeAACDecHandle NEAACDECAPI NeAACDecOpen(void);
209
210 NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder);
211
212 unsigned char NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hDecoder,
198 NEAACDECAPI char* NeAACDecGetErrorMessage(unsigned char errcode);
199
200 NEAACDECAPI unsigned long NeAACDecGetCapabilities(void);
201
202 NEAACDECAPI NeAACDecHandle NeAACDecOpen(void);
203
204 NEAACDECAPI NeAACDecConfigurationPtr NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder);
205
206 NEAACDECAPI unsigned char NeAACDecSetConfiguration(NeAACDecHandle hDecoder,
213207 NeAACDecConfigurationPtr config);
214208
215209 /* Init the library based on info from the AAC file (ADTS/ADIF) */
216 long NEAACDECAPI NeAACDecInit(NeAACDecHandle hDecoder,
210 NEAACDECAPI long NeAACDecInit(NeAACDecHandle hDecoder,
217211 unsigned char *buffer,
218212 unsigned long buffer_size,
219213 unsigned long *samplerate,
220214 unsigned char *channels);
221215
222216 /* Init the library using a DecoderSpecificInfo */
223 char NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder,
217 NEAACDECAPI char NeAACDecInit2(NeAACDecHandle hDecoder,
224218 unsigned char *pBuffer,
225219 unsigned long SizeOfDecoderSpecificInfo,
226220 unsigned long *samplerate,
227221 unsigned char *channels);
228222
229223 /* Init the library for DRM */
230 char NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, unsigned long samplerate,
224 NEAACDECAPI char NeAACDecInitDRM(NeAACDecHandle *hDecoder, unsigned long samplerate,
231225 unsigned char channels);
232226
233 void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hDecoder, long frame);
234
235 void NEAACDECAPI NeAACDecClose(NeAACDecHandle hDecoder);
236
237 void NEAACDECAPI *NeAACDecDecode(NeAACDecHandle hDecoder,
227 NEAACDECAPI void NeAACDecPostSeekReset(NeAACDecHandle hDecoder, long frame);
228
229 NEAACDECAPI void NeAACDecClose(NeAACDecHandle hDecoder);
230
231 NEAACDECAPI void* NeAACDecDecode(NeAACDecHandle hDecoder,
238232 NeAACDecFrameInfo *hInfo,
239233 unsigned char *buffer,
240234 unsigned long buffer_size);
241235
242 void NEAACDECAPI *NeAACDecDecode2(NeAACDecHandle hDecoder,
236 NEAACDECAPI void* NeAACDecDecode2(NeAACDecHandle hDecoder,
243237 NeAACDecFrameInfo *hInfo,
244238 unsigned char *buffer,
245239 unsigned long buffer_size,
246240 void **sample_buffer,
247241 unsigned long sample_buffer_size);
248242
249 char NEAACDECAPI NeAACDecAudioSpecificConfig(unsigned char *pBuffer,
243 NEAACDECAPI char NeAACDecAudioSpecificConfig(unsigned char *pBuffer,
250244 unsigned long buffer_size,
251245 mp4AudioSpecificConfig *mp4ASC);
252246
253247 /* Get version and copyright strings */
254 int NEAACDECAPI NeAACDecGetVersion(char **faad_id_string,
248 NEAACDECAPI int NeAACDecGetVersion(char **faad_id_string,
255249 char **faad_copyright_string);
256250
257251 #ifdef _WIN32
6363 NeAACDecFrameInfo *hInfo);
6464
6565
66 int NEAACDECAPI NeAACDecGetVersion(char **faad_id_string,
66 int NeAACDecGetVersion(char **faad_id_string,
6767 char **faad_copyright_string)
6868 {
6969 static char *libfaadName = PACKAGE_VERSION;
8080
8181 return 0;
8282 }
83 char NEAACDECAPI *NeAACDecGetErrorMessage(unsigned char errcode)
83
84 char* NeAACDecGetErrorMessage(unsigned char errcode)
8485 {
8586 if (errcode >= NUM_ERROR_MESSAGES)
8687 return NULL;
8788 return err_msg[errcode];
8889 }
8990
90 unsigned long NEAACDECAPI NeAACDecGetCapabilities(void)
91 unsigned long NeAACDecGetCapabilities(void)
9192 {
9293 uint32_t cap = 0;
9394
114115 }
115116
116117 const unsigned char mes[] = { 0x67,0x20,0x61,0x20,0x20,0x20,0x6f,0x20,0x72,0x20,0x65,0x20,0x6e,0x20,0x20,0x20,0x74,0x20,0x68,0x20,0x67,0x20,0x69,0x20,0x72,0x20,0x79,0x20,0x70,0x20,0x6f,0x20,0x63 };
117 NeAACDecHandle NEAACDECAPI NeAACDecOpen(void)
118 NeAACDecHandle NeAACDecOpen(void)
118119 {
119120 uint8_t i;
120121 NeAACDecStruct *hDecoder = NULL;
175176 return hDecoder;
176177 }
177178
178 NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hpDecoder)
179 NeAACDecConfigurationPtr NeAACDecGetCurrentConfiguration(NeAACDecHandle hpDecoder)
179180 {
180181 NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
181182 if (hDecoder)
188189 return NULL;
189190 }
190191
191 unsigned char NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hpDecoder,
192 unsigned char NeAACDecSetConfiguration(NeAACDecHandle hpDecoder,
192193 NeAACDecConfigurationPtr config)
193194 {
194195 NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
251252 }
252253
253254
254 long NEAACDECAPI NeAACDecInit(NeAACDecHandle hpDecoder,
255 long NeAACDecInit(NeAACDecHandle hpDecoder,
255256 unsigned char *buffer,
256257 unsigned long buffer_size,
257258 unsigned long *samplerate,
385386 }
386387
387388 /* Init the library using a DecoderSpecificInfo */
388 char NEAACDECAPI NeAACDecInit2(NeAACDecHandle hpDecoder,
389 char NeAACDecInit2(NeAACDecHandle hpDecoder,
389390 unsigned char *pBuffer,
390391 unsigned long SizeOfDecoderSpecificInfo,
391392 unsigned long *samplerate,
479480 }
480481
481482 #ifdef DRM
482 char NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hpDecoder,
483 char NeAACDecInitDRM(NeAACDecHandle *hpDecoder,
483484 unsigned long samplerate,
484485 unsigned char channels)
485486 {
522523 }
523524 #endif
524525
525 void NEAACDECAPI NeAACDecClose(NeAACDecHandle hpDecoder)
526 void NeAACDecClose(NeAACDecHandle hpDecoder)
526527 {
527528 uint8_t i;
528529 NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
576577 if (hDecoder) faad_free(hDecoder);
577578 }
578579
579 void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hpDecoder, long frame)
580 void NeAACDecPostSeekReset(NeAACDecHandle hpDecoder, long frame)
580581 {
581582 NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder;
582583 if (hDecoder)
806807 }
807808 }
808809
809 void NEAACDECAPI *NeAACDecDecode(NeAACDecHandle hpDecoder,
810 void* NeAACDecDecode(NeAACDecHandle hpDecoder,
810811 NeAACDecFrameInfo *hInfo,
811812 unsigned char *buffer,
812813 unsigned long buffer_size)
815816 return aac_frame_decode(hDecoder, hInfo, buffer, buffer_size, NULL, 0);
816817 }
817818
818 void NEAACDECAPI *NeAACDecDecode2(NeAACDecHandle hpDecoder,
819 void* NeAACDecDecode2(NeAACDecHandle hpDecoder,
819820 NeAACDecFrameInfo *hInfo,
820821 unsigned char *buffer,
821822 unsigned long buffer_size,
113113 };
114114
115115 /* Table 1.6.1 */
116 char NEAACDECAPI NeAACDecAudioSpecificConfig(unsigned char *pBuffer,
116 char NeAACDecAudioSpecificConfig(unsigned char *pBuffer,
117117 unsigned long buffer_size,
118118 mp4AudioSpecificConfig *mp4ASC)
119119 {