New upstream version 2.8.8
Fabian Greffrath
6 years ago
0 | 0 | SUBDIRS = libfaad common frontend plugins |
1 | 1 | |
2 | EXTRA_DIST = faad2.spec docs/libfaad.3 | |
2 | EXTRA_DIST = faad2.spec docs/libfaad.3 project utils | |
3 | 3 | |
4 | 4 | rpm: Makefile |
5 | 5 | make dist |
330 | 330 | top_builddir = @top_builddir@ |
331 | 331 | top_srcdir = @top_srcdir@ |
332 | 332 | SUBDIRS = libfaad common frontend plugins |
333 | EXTRA_DIST = faad2.spec docs/libfaad.3 | |
333 | EXTRA_DIST = faad2.spec docs/libfaad.3 project utils | |
334 | 334 | all: config.h |
335 | 335 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
336 | 336 |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for faad2 2.8.6. | |
2 | # Generated by GNU Autoconf 2.69 for faad2 2.8.8. | |
3 | 3 | # |
4 | 4 | # |
5 | 5 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
586 | 586 | # Identity of this package. |
587 | 587 | PACKAGE_NAME='faad2' |
588 | 588 | PACKAGE_TARNAME='faad2' |
589 | PACKAGE_VERSION='2.8.6' | |
590 | PACKAGE_STRING='faad2 2.8.6' | |
589 | PACKAGE_VERSION='2.8.8' | |
590 | PACKAGE_STRING='faad2 2.8.8' | |
591 | 591 | PACKAGE_BUGREPORT='' |
592 | 592 | PACKAGE_URL='' |
593 | 593 | |
1343 | 1343 | # Omit some internal or obsolete options to make the list less imposing. |
1344 | 1344 | # This message is too long to be a string in the A/UX 3.1 sh. |
1345 | 1345 | cat <<_ACEOF |
1346 | \`configure' configures faad2 2.8.6 to adapt to many kinds of systems. | |
1346 | \`configure' configures faad2 2.8.8 to adapt to many kinds of systems. | |
1347 | 1347 | |
1348 | 1348 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1349 | 1349 | |
1414 | 1414 | |
1415 | 1415 | if test -n "$ac_init_help"; then |
1416 | 1416 | case $ac_init_help in |
1417 | short | recursive ) echo "Configuration of faad2 2.8.6:";; | |
1417 | short | recursive ) echo "Configuration of faad2 2.8.8:";; | |
1418 | 1418 | esac |
1419 | 1419 | cat <<\_ACEOF |
1420 | 1420 | |
1530 | 1530 | test -n "$ac_init_help" && exit $ac_status |
1531 | 1531 | if $ac_init_version; then |
1532 | 1532 | cat <<\_ACEOF |
1533 | faad2 configure 2.8.6 | |
1533 | faad2 configure 2.8.8 | |
1534 | 1534 | generated by GNU Autoconf 2.69 |
1535 | 1535 | |
1536 | 1536 | Copyright (C) 2012 Free Software Foundation, Inc. |
2070 | 2070 | This file contains any messages produced by compilers while |
2071 | 2071 | running configure, to aid debugging if configure makes a mistake. |
2072 | 2072 | |
2073 | It was created by faad2 $as_me 2.8.6, which was | |
2073 | It was created by faad2 $as_me 2.8.8, which was | |
2074 | 2074 | generated by GNU Autoconf 2.69. Invocation command line was |
2075 | 2075 | |
2076 | 2076 | $ $0 $@ |
2933 | 2933 | |
2934 | 2934 | # Define the identity of the package. |
2935 | 2935 | PACKAGE='faad2' |
2936 | VERSION='2.8.6' | |
2936 | VERSION='2.8.8' | |
2937 | 2937 | |
2938 | 2938 | |
2939 | 2939 | cat >>confdefs.h <<_ACEOF |
18295 | 18295 | # report actual input values of CONFIG_FILES etc. instead of their |
18296 | 18296 | # values after options handling. |
18297 | 18297 | ac_log=" |
18298 | This file was extended by faad2 $as_me 2.8.6, which was | |
18298 | This file was extended by faad2 $as_me 2.8.8, which was | |
18299 | 18299 | generated by GNU Autoconf 2.69. Invocation command line was |
18300 | 18300 | |
18301 | 18301 | CONFIG_FILES = $CONFIG_FILES |
18361 | 18361 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
18362 | 18362 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
18363 | 18363 | ac_cs_version="\\ |
18364 | faad2 config.status 2.8.6 | |
18364 | faad2 config.status 2.8.8 | |
18365 | 18365 | configured by $0, generated by GNU Autoconf 2.69, |
18366 | 18366 | with options \\"\$ac_cs_config\\" |
18367 | 18367 |
7 | 7 | dnl - mpeg4ip plugin (requires mpeg4ip's libmp4v2 to be installed) |
8 | 8 | |
9 | 9 | AC_PREREQ(2.50) |
10 | AC_INIT(faad2, 2.8.6) | |
10 | AC_INIT(faad2, 2.8.8) | |
11 | 11 | AC_CONFIG_AUX_DIR(.) |
12 | 12 | AM_INIT_AUTOMAKE([subdir-objects]) |
13 | 13 |
23 | 23 | |
24 | 24 | Summary: C library and frontend for decoding MPEG2/4 AAC |
25 | 25 | Name: faad2 |
26 | Version: 2.8.6 | |
26 | Version: 2.8.8 | |
27 | 27 | Release: 1 |
28 | 28 | License: GPL |
29 | 29 | Group: Applications/Multimedia |
4 | 4 | |
5 | 5 | faad_LDADD = $(top_builddir)/libfaad/libfaad.la |
6 | 6 | |
7 | faad_SOURCES = mp4read.c audio.c main.c audio.h mp4read.h | |
7 | faad_SOURCES = mp4read.c audio.c main.c audio.h mp4read.h unicode_support.c unicode_support.h | |
8 | 8 | |
9 | 9 | EXTRA_faad_SOURCES = getopt.c |
100 | 100 | CONFIG_CLEAN_VPATH_FILES = |
101 | 101 | am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" |
102 | 102 | PROGRAMS = $(bin_PROGRAMS) |
103 | am_faad_OBJECTS = mp4read.$(OBJEXT) audio.$(OBJEXT) main.$(OBJEXT) | |
103 | am_faad_OBJECTS = mp4read.$(OBJEXT) audio.$(OBJEXT) main.$(OBJEXT) \ | |
104 | unicode_support.$(OBJEXT) | |
104 | 105 | faad_OBJECTS = $(am_faad_OBJECTS) |
105 | 106 | faad_DEPENDENCIES = $(top_builddir)/libfaad/libfaad.la |
106 | 107 | AM_V_lt = $(am__v_lt_@AM_V@) |
330 | 331 | dist_man1_MANS = faad.man |
331 | 332 | AM_CPPFLAGS = -I$(top_srcdir)/include |
332 | 333 | faad_LDADD = $(top_builddir)/libfaad/libfaad.la |
333 | faad_SOURCES = mp4read.c audio.c main.c audio.h mp4read.h | |
334 | faad_SOURCES = mp4read.c audio.c main.c audio.h mp4read.h unicode_support.c unicode_support.h | |
334 | 335 | EXTRA_faad_SOURCES = getopt.c |
335 | 336 | all: all-am |
336 | 337 | |
429 | 430 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getopt.Po@am__quote@ |
430 | 431 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ |
431 | 432 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mp4read.Po@am__quote@ |
433 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unicode_support.Po@am__quote@ | |
432 | 434 | |
433 | 435 | .c.o: |
434 | 436 | @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ |
37 | 37 | #include <neaacdec.h> |
38 | 38 | #include <stdint.h> |
39 | 39 | |
40 | #include "unicode_support.h" | |
40 | 41 | #include "audio.h" |
41 | 42 | |
42 | 43 | |
73 | 74 | if(infile[0] == '-') |
74 | 75 | { |
75 | 76 | #ifdef _WIN32 |
76 | setmode(fileno(stdout), O_BINARY); | |
77 | _setmode(_fileno(stdout), O_BINARY); | |
77 | 78 | #endif |
78 | 79 | aufile->sndfile = stdout; |
79 | 80 | aufile->toStdio = 1; |
80 | 81 | } else { |
81 | 82 | aufile->toStdio = 0; |
82 | aufile->sndfile = fopen(infile, "wb"); | |
83 | aufile->sndfile = faad_fopen(infile, "wb"); | |
83 | 84 | } |
84 | 85 | |
85 | 86 | if (aufile->sndfile == NULL) |
34 | 34 | #ifdef _WIN32 |
35 | 35 | #define WIN32_LEAN_AND_MEAN |
36 | 36 | #include <windows.h> |
37 | #include <io.h> | |
37 | 38 | #ifndef __MINGW32__ |
38 | 39 | #define off_t __int64 |
39 | 40 | #endif |
50 | 51 | |
51 | 52 | #include <neaacdec.h> |
52 | 53 | |
54 | #include "unicode_support.h" | |
53 | 55 | #include "audio.h" |
54 | 56 | #include "mp4read.h" |
55 | 57 | |
67 | 69 | #define MAX_CHANNELS 6 /* make this higher to support files with |
68 | 70 | more channels */ |
69 | 71 | |
72 | #define MAX_PERCENTS 384 | |
70 | 73 | |
71 | 74 | static int quiet = 0; |
72 | 75 | |
77 | 80 | if (!quiet) |
78 | 81 | { |
79 | 82 | va_start(ap, fmt); |
80 | ||
81 | 83 | vfprintf(stream, fmt, ap); |
82 | ||
83 | 84 | va_end(ap); |
84 | 85 | } |
86 | ||
87 | #ifdef _WIN32 | |
88 | if (!_isatty(_fileno(stream))) | |
89 | { | |
90 | fflush(stream); /*ensure real-time progress output on Win32*/ | |
91 | } | |
92 | #endif | |
85 | 93 | } |
86 | 94 | |
87 | 95 | /* FAAD file buffering routines */ |
461 | 469 | NeAACDecFrameInfo frameInfo; |
462 | 470 | NeAACDecConfigurationPtr config; |
463 | 471 | |
464 | char percents[200]; | |
472 | char percents[MAX_PERCENTS]; | |
465 | 473 | int percent, old_percent = -1; |
466 | 474 | int bread, fileread; |
467 | 475 | int header_type = 0; |
478 | 486 | |
479 | 487 | if (adts_out) |
480 | 488 | { |
481 | adtsFile = fopen(adts_fn, "wb"); | |
489 | adtsFile = faad_fopen(adts_fn, "wb"); | |
482 | 490 | if (adtsFile == NULL) |
483 | 491 | { |
484 | 492 | faad_fprintf(stderr, "Error opening file: %s\n", adts_fn); |
490 | 498 | { |
491 | 499 | b.infile = stdin; |
492 | 500 | #ifdef _WIN32 |
493 | setmode(fileno(stdin), O_BINARY); | |
501 | _setmode(_fileno(stdin), O_BINARY); | |
494 | 502 | #endif |
495 | 503 | |
496 | 504 | } else |
497 | 505 | { |
498 | b.infile = fopen(aacfile, "rb"); | |
506 | b.infile = faad_fopen(aacfile, "rb"); | |
499 | 507 | if (b.infile == NULL) |
500 | 508 | { |
501 | 509 | /* unable to open file */ |
726 | 734 | if (percent > old_percent) |
727 | 735 | { |
728 | 736 | old_percent = percent; |
729 | sprintf(percents, "%d%% decoding %s.", percent, aacfile); | |
737 | snprintf(percents, MAX_PERCENTS, "%d%% decoding %s.", percent, aacfile); | |
730 | 738 | faad_fprintf(stderr, "%s\r", percents); |
731 | 739 | #ifdef _WIN32 |
732 | 740 | SetConsoleTitle(percents); |
794 | 802 | NeAACDecFrameInfo frameInfo; |
795 | 803 | mp4AudioSpecificConfig mp4ASC; |
796 | 804 | |
797 | char percents[200]; | |
805 | char percents[MAX_PERCENTS]; | |
798 | 806 | int percent, old_percent = -1; |
799 | 807 | |
800 | 808 | int first_time = 1; |
832 | 840 | |
833 | 841 | if (adts_out) |
834 | 842 | { |
835 | adtsFile = fopen(adts_fn, "wb"); | |
843 | adtsFile = faad_fopen(adts_fn, "wb"); | |
836 | 844 | if (adtsFile == NULL) |
837 | 845 | { |
838 | 846 | faad_fprintf(stderr, "Error opening file: %s\n", adts_fn); |
952 | 960 | outputFormat, fileType, aacChannelConfig2wavexChannelMask(&frameInfo)); |
953 | 961 | } else { |
954 | 962 | #ifdef _WIN32 |
955 | setmode(fileno(stdout), O_BINARY); | |
963 | _setmode(_fileno(stdout), O_BINARY); | |
956 | 964 | #endif |
957 | 965 | aufile = open_audio_file("-", frameInfo.samplerate, frameInfo.channels, |
958 | 966 | outputFormat, fileType, aacChannelConfig2wavexChannelMask(&frameInfo)); |
971 | 979 | if (percent > old_percent) |
972 | 980 | { |
973 | 981 | old_percent = percent; |
974 | sprintf(percents, "%d%% decoding %s.", percent, mp4file); | |
982 | snprintf(percents, MAX_PERCENTS, "%d%% decoding %s.", percent, mp4file); | |
975 | 983 | faad_fprintf(stderr, "%s\r", percents); |
976 | 984 | #ifdef _WIN32 |
977 | 985 | SetConsoleTitle(percents); |
1006 | 1014 | return frameInfo.error; |
1007 | 1015 | } |
1008 | 1016 | |
1009 | int main(int argc, char *argv[]) | |
1017 | static int faad_main(int argc, char *argv[]) | |
1010 | 1018 | { |
1011 | 1019 | int result; |
1012 | 1020 | int infoOnly = 0; |
1264 | 1272 | readFromStdin = 1; |
1265 | 1273 | hMP4File = stdin; |
1266 | 1274 | #ifdef _WIN32 |
1267 | setmode(fileno(stdin), O_BINARY); | |
1275 | _setmode(_fileno(stdin), O_BINARY); | |
1268 | 1276 | #endif |
1269 | 1277 | |
1270 | 1278 | } else { |
1271 | 1279 | |
1272 | 1280 | mp4file = 0; |
1273 | hMP4File = fopen(aacFileName, "rb"); | |
1281 | hMP4File = faad_fopen(aacFileName, "rb"); | |
1274 | 1282 | if (!hMP4File) |
1275 | 1283 | { |
1276 | 1284 | faad_fprintf(stderr, "Error opening file: %s\n", aacFileName); |
1337 | 1345 | |
1338 | 1346 | return 0; |
1339 | 1347 | } |
1348 | ||
1349 | int main(int argc, char *argv[]) | |
1350 | { | |
1351 | #if defined WIN32 || defined _WIN32 || defined WIN64 || defined _WIN64 | |
1352 | int argc_utf8, exit_code; | |
1353 | char **argv_utf8; | |
1354 | init_console_utf8(stderr); | |
1355 | init_commandline_arguments_utf8(&argc_utf8, &argv_utf8); | |
1356 | exit_code = faad_main(argc_utf8, argv_utf8); | |
1357 | free_commandline_arguments_utf8(&argc_utf8, &argv_utf8); | |
1358 | uninit_console_utf8(); | |
1359 | return exit_code; | |
1360 | #else | |
1361 | return faad_main(argc, argv); | |
1362 | #endif | |
1363 | }⏎ |
23 | 23 | #include <time.h> |
24 | 24 | #include <limits.h> |
25 | 25 | |
26 | #include "unicode_support.h" | |
26 | 27 | #include "mp4read.h" |
27 | 28 | |
28 | 29 | enum ATOM_TYPE |
44 | 45 | |
45 | 46 | static FILE *g_fin = NULL; |
46 | 47 | |
47 | static inline uint32_t bswap32(uint32_t u32) | |
48 | static inline uint32_t bswap32(const uint32_t u32) | |
48 | 49 | { |
49 | 50 | #ifndef WORDS_BIGENDIAN |
51 | #ifdef _MSC_VER | |
52 | return _byteswap_ulong(u32); | |
53 | #else | |
50 | 54 | return __builtin_bswap32(u32); |
51 | 55 | #endif |
52 | } | |
53 | ||
54 | static inline uint16_t bswap16(uint16_t u16) | |
56 | #else | |
57 | return u32; | |
58 | #endif | |
59 | } | |
60 | ||
61 | static inline uint16_t bswap16(const uint16_t u16) | |
55 | 62 | { |
56 | 63 | #ifndef WORDS_BIGENDIAN |
57 | return __builtin_bswap16(u16); | |
64 | #ifdef _MSC_VER | |
65 | return _byteswap_ushort(u16); | |
66 | #else | |
67 | return __builtin_bswap16(u16); | |
68 | #endif | |
69 | #else | |
70 | return u16; | |
58 | 71 | #endif |
59 | 72 | } |
60 | 73 | |
926 | 939 | |
927 | 940 | static void mp4info(void) |
928 | 941 | { |
929 | fprintf(stderr, "Modification Time:\t\%s", mp4time(mp4config.mtime)); | |
942 | fprintf(stderr, "Modification Time:\t\t%s", mp4time(mp4config.mtime)); | |
930 | 943 | fprintf(stderr, "Samplerate:\t\t%d\n", mp4config.samplerate); |
931 | 944 | fprintf(stderr, "Total samples:\t\t%d\n", mp4config.samples); |
932 | 945 | fprintf(stderr, "Total channels:\t\t%d\n", mp4config.channels); |
957 | 970 | |
958 | 971 | mp4read_close(); |
959 | 972 | |
960 | g_fin = fopen(name, "rb"); | |
973 | g_fin = faad_fopen(name, "rb"); | |
961 | 974 | if (!g_fin) |
962 | 975 | return ERR_FAIL; |
963 | 976 |
0 | /* Copyright (c) 2004-2012 LoRd_MuldeR <mulder2@gmx.de> | |
1 | File: unicode_support.c | |
2 | ||
3 | This file was originally part of a patch included with LameXP, | |
4 | released under the same license as the original audio tools. | |
5 | ||
6 | Redistribution and use in source and binary forms, with or without | |
7 | modification, are permitted provided that the following conditions | |
8 | are met: | |
9 | ||
10 | - Redistributions of source code must retain the above copyright | |
11 | notice, this list of conditions and the following disclaimer. | |
12 | ||
13 | - Redistributions in binary form must reproduce the above copyright | |
14 | notice, this list of conditions and the following disclaimer in the | |
15 | documentation and/or other materials provided with the distribution. | |
16 | ||
17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
18 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR | |
21 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | |
22 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
23 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | |
24 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | |
25 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | |
26 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |
27 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
28 | */ | |
29 | #if defined WIN32 || defined _WIN32 || defined WIN64 || defined _WIN64 | |
30 | ||
31 | #include "unicode_support.h" | |
32 | ||
33 | #include <windows.h> | |
34 | #include <io.h> | |
35 | ||
36 | static UINT g_old_output_cp = ((UINT)-1); | |
37 | ||
38 | char *utf16_to_utf8(const wchar_t *input) | |
39 | { | |
40 | char *Buffer; | |
41 | int BuffSize = 0, Result = 0; | |
42 | ||
43 | BuffSize = WideCharToMultiByte(CP_UTF8, 0, input, -1, NULL, 0, NULL, NULL); | |
44 | Buffer = (char*) malloc(sizeof(char) * BuffSize); | |
45 | if(Buffer) | |
46 | { | |
47 | Result = WideCharToMultiByte(CP_UTF8, 0, input, -1, Buffer, BuffSize, NULL, NULL); | |
48 | } | |
49 | ||
50 | return ((Result > 0) && (Result <= BuffSize)) ? Buffer : NULL; | |
51 | } | |
52 | ||
53 | char *utf16_to_ansi(const wchar_t *input) | |
54 | { | |
55 | char *Buffer; | |
56 | int BuffSize = 0, Result = 0; | |
57 | ||
58 | BuffSize = WideCharToMultiByte(CP_ACP, 0, input, -1, NULL, 0, NULL, NULL); | |
59 | Buffer = (char*) malloc(sizeof(char) * BuffSize); | |
60 | if(Buffer) | |
61 | { | |
62 | Result = WideCharToMultiByte(CP_ACP, 0, input, -1, Buffer, BuffSize, NULL, NULL); | |
63 | } | |
64 | ||
65 | return ((Result > 0) && (Result <= BuffSize)) ? Buffer : NULL; | |
66 | } | |
67 | ||
68 | wchar_t *utf8_to_utf16(const char *input) | |
69 | { | |
70 | wchar_t *Buffer; | |
71 | int BuffSize = 0, Result = 0; | |
72 | ||
73 | BuffSize = MultiByteToWideChar(CP_UTF8, 0, input, -1, NULL, 0); | |
74 | Buffer = (wchar_t*) malloc(sizeof(wchar_t) * BuffSize); | |
75 | if(Buffer) | |
76 | { | |
77 | Result = MultiByteToWideChar(CP_UTF8, 0, input, -1, Buffer, BuffSize); | |
78 | } | |
79 | ||
80 | return ((Result > 0) && (Result <= BuffSize)) ? Buffer : NULL; | |
81 | } | |
82 | ||
83 | void init_commandline_arguments_utf8(int *argc, char ***argv) | |
84 | { | |
85 | int i, nArgs; | |
86 | LPWSTR *szArglist; | |
87 | ||
88 | szArglist = CommandLineToArgvW(GetCommandLineW(), &nArgs); | |
89 | ||
90 | if(NULL == szArglist) | |
91 | { | |
92 | fprintf(stderr, "\nFATAL: CommandLineToArgvW failed\n\n"); | |
93 | exit(-1); | |
94 | } | |
95 | ||
96 | *argv = (char**) malloc(sizeof(char*) * nArgs); | |
97 | *argc = nArgs; | |
98 | ||
99 | if(NULL == *argv) | |
100 | { | |
101 | fprintf(stderr, "\nFATAL: Malloc failed\n\n"); | |
102 | exit(-1); | |
103 | } | |
104 | ||
105 | for(i = 0; i < nArgs; i++) | |
106 | { | |
107 | (*argv)[i] = utf16_to_utf8(szArglist[i]); | |
108 | if(NULL == (*argv)[i]) | |
109 | { | |
110 | fprintf(stderr, "\nFATAL: utf16_to_utf8 failed\n\n"); | |
111 | exit(-1); | |
112 | } | |
113 | } | |
114 | ||
115 | LocalFree(szArglist); | |
116 | } | |
117 | ||
118 | void free_commandline_arguments_utf8(int *argc, char ***argv) | |
119 | { | |
120 | int i = 0; | |
121 | ||
122 | if(*argv != NULL) | |
123 | { | |
124 | for(i = 0; i < *argc; i++) | |
125 | { | |
126 | if((*argv)[i] != NULL) | |
127 | { | |
128 | free((*argv)[i]); | |
129 | (*argv)[i] = NULL; | |
130 | } | |
131 | } | |
132 | free(*argv); | |
133 | *argv = NULL; | |
134 | } | |
135 | } | |
136 | ||
137 | FILE *fopen_utf8(const char *filename_utf8, const char *mode_utf8) | |
138 | { | |
139 | FILE *ret = NULL; | |
140 | wchar_t *filename_utf16 = utf8_to_utf16(filename_utf8); | |
141 | wchar_t *mode_utf16 = utf8_to_utf16(mode_utf8); | |
142 | ||
143 | if(filename_utf16 && mode_utf16) | |
144 | { | |
145 | ret = _wfopen(filename_utf16, mode_utf16); | |
146 | } | |
147 | ||
148 | if(filename_utf16) free(filename_utf16); | |
149 | if(mode_utf16) free(mode_utf16); | |
150 | ||
151 | return ret; | |
152 | } | |
153 | ||
154 | void init_console_utf8(FILE *const stream) | |
155 | { | |
156 | if (_isatty(_fileno(stream))) | |
157 | { | |
158 | g_old_output_cp = GetConsoleOutputCP(); | |
159 | SetConsoleOutputCP(CP_UTF8); | |
160 | } | |
161 | } | |
162 | ||
163 | void uninit_console_utf8(void) | |
164 | { | |
165 | if(g_old_output_cp != ((UINT)-1)) | |
166 | { | |
167 | SetConsoleOutputCP(g_old_output_cp); | |
168 | } | |
169 | } | |
170 | ||
171 | #endif⏎ |
0 | /* Copyright (c) 2004-2012 LoRd_MuldeR <mulder2@gmx.de> | |
1 | File: unicode_support.h | |
2 | ||
3 | This file was originally part of a patch included with LameXP, | |
4 | released under the same license as the original audio tools. | |
5 | ||
6 | Redistribution and use in source and binary forms, with or without | |
7 | modification, are permitted provided that the following conditions | |
8 | are met: | |
9 | ||
10 | - Redistributions of source code must retain the above copyright | |
11 | notice, this list of conditions and the following disclaimer. | |
12 | ||
13 | - Redistributions in binary form must reproduce the above copyright | |
14 | notice, this list of conditions and the following disclaimer in the | |
15 | documentation and/or other materials provided with the distribution. | |
16 | ||
17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
18 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
19 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
20 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR | |
21 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | |
22 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | |
23 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | |
24 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | |
25 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | |
26 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |
27 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
28 | */ | |
29 | #ifndef UNICODE_SUPPORT_H_INCLUDED | |
30 | #define UNICODE_SUPPORT_H_INCLUDED | |
31 | ||
32 | #include <stdio.h> | |
33 | ||
34 | #if defined WIN32 || defined _WIN32 || defined WIN64 || defined _WIN64 | |
35 | char *utf16_to_utf8(const wchar_t *input); | |
36 | char *utf16_to_ansi(const wchar_t *input); | |
37 | wchar_t *utf8_to_utf16(const char *input); | |
38 | void init_commandline_arguments_utf8(int *argc, char ***argv); | |
39 | void free_commandline_arguments_utf8(int *argc, char ***argv); | |
40 | FILE *fopen_utf8(const char *filename_utf8, const char *mode_utf8); | |
41 | void init_console_utf8(FILE *const stream); | |
42 | void uninit_console_utf8(void); | |
43 | #define faad_fopen(X,Y) fopen_utf8((X),(Y)) | |
44 | #else | |
45 | #define faad_fopen(X,Y) fopen((X),(Y)) | |
46 | #endif | |
47 | ||
48 | #endif //UNICODE_SUPPORT_H_INCLUDED |
50 | 50 | |
51 | 51 | #ifdef ANALYSIS |
52 | 52 | uint16_t dbg_count; |
53 | #endif | |
54 | ||
55 | #if defined WIN32 || defined _WIN32 || defined WIN64 || defined _WIN64 | |
56 | #include "win32_ver.h" | |
53 | 57 | #endif |
54 | 58 | |
55 | 59 | /* static function declarations */ |
0 | <?xml version="1.0" encoding="utf-8"?> | |
1 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
2 | <ItemGroup Label="ProjectConfigurations"> | |
3 | <ProjectConfiguration Include="Debug|Win32"> | |
4 | <Configuration>Debug</Configuration> | |
5 | <Platform>Win32</Platform> | |
6 | </ProjectConfiguration> | |
7 | <ProjectConfiguration Include="Release|Win32"> | |
8 | <Configuration>Release</Configuration> | |
9 | <Platform>Win32</Platform> | |
10 | </ProjectConfiguration> | |
11 | </ItemGroup> | |
12 | <PropertyGroup Label="Globals"> | |
13 | <ProjectGuid>{FE985E4D-79DB-4DD3-BFED-824B4677A161}</ProjectGuid> | |
14 | <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion> | |
15 | </PropertyGroup> | |
16 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | |
17 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | |
18 | <ConfigurationType>Application</ConfigurationType> | |
19 | <PlatformToolset>v141</PlatformToolset> | |
20 | <UseOfMfc>false</UseOfMfc> | |
21 | <CharacterSet>MultiByte</CharacterSet> | |
22 | </PropertyGroup> | |
23 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | |
24 | <ConfigurationType>Application</ConfigurationType> | |
25 | <PlatformToolset>v141</PlatformToolset> | |
26 | <UseOfMfc>false</UseOfMfc> | |
27 | <CharacterSet>MultiByte</CharacterSet> | |
28 | </PropertyGroup> | |
29 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |
30 | <ImportGroup Label="ExtensionSettings"> | |
31 | </ImportGroup> | |
32 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> | |
33 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
34 | </ImportGroup> | |
35 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> | |
36 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
37 | </ImportGroup> | |
38 | <PropertyGroup Label="UserMacros" /> | |
39 | <PropertyGroup> | |
40 | <_ProjectFileVersion>15.0.26730.12</_ProjectFileVersion> | |
41 | </PropertyGroup> | |
42 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
43 | <OutDir>.\bin\$(Configuration)\</OutDir> | |
44 | <IntDir>.\intermediate\$(Configuration)\$(ProjectName)\</IntDir> | |
45 | <LinkIncremental>true</LinkIncremental> | |
46 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> | |
47 | <CodeAnalysisRules /> | |
48 | <CodeAnalysisRuleAssemblies /> | |
49 | </PropertyGroup> | |
50 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
51 | <OutDir>.\bin\$(Configuration)\</OutDir> | |
52 | <IntDir>.\intermediate\$(Configuration)\$(ProjectName)\</IntDir> | |
53 | <LinkIncremental>false</LinkIncremental> | |
54 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> | |
55 | <CodeAnalysisRules /> | |
56 | <CodeAnalysisRuleAssemblies /> | |
57 | </PropertyGroup> | |
58 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
59 | <ClCompile> | |
60 | <Optimization>Disabled</Optimization> | |
61 | <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_DEBUG;WIN32;_CONSOLE;TEST;_WINSOCK_DEPRECATED_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
62 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | |
63 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | |
64 | <PrecompiledHeader /> | |
65 | <WarningLevel>Level3</WarningLevel> | |
66 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | |
67 | </ClCompile> | |
68 | <ResourceCompile> | |
69 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
70 | <Culture>0x0413</Culture> | |
71 | </ResourceCompile> | |
72 | <Link> | |
73 | <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions> | |
74 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
75 | <SubSystem>Console</SubSystem> | |
76 | <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> | |
77 | </Link> | |
78 | </ItemDefinitionGroup> | |
79 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
80 | <ClCompile> | |
81 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | |
82 | <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;NDEBUG;WIN32;_CONSOLE;TEST;_WINSOCK_DEPRECATED_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
83 | <StringPooling>true</StringPooling> | |
84 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | |
85 | <FunctionLevelLinking>true</FunctionLevelLinking> | |
86 | <PrecompiledHeader /> | |
87 | <WarningLevel>Level3</WarningLevel> | |
88 | </ClCompile> | |
89 | <ResourceCompile> | |
90 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
91 | <Culture>0x0413</Culture> | |
92 | </ResourceCompile> | |
93 | <Link> | |
94 | <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions> | |
95 | <SubSystem>Console</SubSystem> | |
96 | <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> | |
97 | </Link> | |
98 | </ItemDefinitionGroup> | |
99 | <ItemGroup> | |
100 | <ClCompile Include="../../common/faad/aacinfo.c" /> | |
101 | <ClCompile Include="../../common/faad/filestream.c" /> | |
102 | </ItemGroup> | |
103 | <ItemGroup> | |
104 | <ClInclude Include="../../common/faad/aacinfo.h" /> | |
105 | <ClInclude Include="../../common/faad/filestream.h" /> | |
106 | </ItemGroup> | |
107 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | |
108 | <ImportGroup Label="ExtensionTargets"> | |
109 | </ImportGroup> | |
110 | </Project>⏎ |
0 | <?xml version="1.0" encoding="utf-8"?> | |
1 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
2 | <ItemGroup> | |
3 | <Filter Include="Source Files"> | |
4 | <UniqueIdentifier>{791f5160-53a5-4c5e-a4a5-23a05c773c22}</UniqueIdentifier> | |
5 | <Extensions>cpp;c;cxx;rc;def;r;odl;idl;hpj;bat</Extensions> | |
6 | </Filter> | |
7 | <Filter Include="Header Files"> | |
8 | <UniqueIdentifier>{f1d3687c-4d55-4c4e-98b4-657ceb0b9ad2}</UniqueIdentifier> | |
9 | <Extensions>h;hpp;hxx;hm;inl</Extensions> | |
10 | </Filter> | |
11 | </ItemGroup> | |
12 | <ItemGroup> | |
13 | <ClCompile Include="../../common/faad/aacinfo.c"> | |
14 | <Filter>Source Files</Filter> | |
15 | </ClCompile> | |
16 | <ClCompile Include="../../common/faad/filestream.c"> | |
17 | <Filter>Source Files</Filter> | |
18 | </ClCompile> | |
19 | </ItemGroup> | |
20 | <ItemGroup> | |
21 | <ClInclude Include="../../common/faad/aacinfo.h"> | |
22 | <Filter>Header Files</Filter> | |
23 | </ClInclude> | |
24 | <ClInclude Include="../../common/faad/filestream.h"> | |
25 | <Filter>Header Files</Filter> | |
26 | </ClInclude> | |
27 | </ItemGroup> | |
28 | </Project>⏎ |
0 | <?xml version="1.0" encoding="utf-8"?> | |
1 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
2 | <ItemGroup Label="ProjectConfigurations"> | |
3 | <ProjectConfiguration Include="Debug|Win32"> | |
4 | <Configuration>Debug</Configuration> | |
5 | <Platform>Win32</Platform> | |
6 | </ProjectConfiguration> | |
7 | <ProjectConfiguration Include="Release|Win32"> | |
8 | <Configuration>Release</Configuration> | |
9 | <Platform>Win32</Platform> | |
10 | </ProjectConfiguration> | |
11 | </ItemGroup> | |
12 | <PropertyGroup Label="Globals"> | |
13 | <ProjectGuid>{2BD8CBB3-DFC9-4A6A-9B7A-07ED749BED58}</ProjectGuid> | |
14 | <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion> | |
15 | </PropertyGroup> | |
16 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | |
17 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | |
18 | <ConfigurationType>Application</ConfigurationType> | |
19 | <PlatformToolset>v141</PlatformToolset> | |
20 | </PropertyGroup> | |
21 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | |
22 | <ConfigurationType>Application</ConfigurationType> | |
23 | <PlatformToolset>v141</PlatformToolset> | |
24 | </PropertyGroup> | |
25 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |
26 | <ImportGroup Label="ExtensionSettings"> | |
27 | </ImportGroup> | |
28 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> | |
29 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
30 | </ImportGroup> | |
31 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> | |
32 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
33 | </ImportGroup> | |
34 | <PropertyGroup Label="UserMacros" /> | |
35 | <PropertyGroup> | |
36 | <_ProjectFileVersion>15.0.26730.12</_ProjectFileVersion> | |
37 | </PropertyGroup> | |
38 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
39 | <OutDir>.\bin\$(Configuration)\</OutDir> | |
40 | <IntDir>.\intermediate\$(Configuration)\$(ProjectName)\</IntDir> | |
41 | <LinkIncremental>true</LinkIncremental> | |
42 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> | |
43 | <CodeAnalysisRules /> | |
44 | <CodeAnalysisRuleAssemblies /> | |
45 | </PropertyGroup> | |
46 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
47 | <OutDir>.\bin\$(Configuration)\</OutDir> | |
48 | <IntDir>.\intermediate\$(Configuration)\$(ProjectName)\</IntDir> | |
49 | <LinkIncremental>false</LinkIncremental> | |
50 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> | |
51 | <CodeAnalysisRules /> | |
52 | <CodeAnalysisRuleAssemblies /> | |
53 | </PropertyGroup> | |
54 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
55 | <Midl> | |
56 | <TypeLibraryName>.\Debug/faad.tlb</TypeLibraryName> | |
57 | </Midl> | |
58 | <ClCompile> | |
59 | <Optimization>Disabled</Optimization> | |
60 | <AdditionalIncludeDirectories>../../include;../../common/mp4ff;../../frontend;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |
61 | <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
62 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | |
63 | <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | |
64 | <PrecompiledHeader /> | |
65 | <WarningLevel>Level3</WarningLevel> | |
66 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | |
67 | </ClCompile> | |
68 | <ResourceCompile> | |
69 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
70 | <Culture>0x0413</Culture> | |
71 | </ResourceCompile> | |
72 | <Link> | |
73 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
74 | <SubSystem>Console</SubSystem> | |
75 | </Link> | |
76 | </ItemDefinitionGroup> | |
77 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
78 | <Midl> | |
79 | <TypeLibraryName>.\Release/faad.tlb</TypeLibraryName> | |
80 | </Midl> | |
81 | <ClCompile> | |
82 | <Optimization>MinSpace</Optimization> | |
83 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | |
84 | <IntrinsicFunctions>true</IntrinsicFunctions> | |
85 | <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> | |
86 | <AdditionalIncludeDirectories>../../include;../../common/mp4ff;../../frontend;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |
87 | <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
88 | <StringPooling>true</StringPooling> | |
89 | <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |
90 | <FunctionLevelLinking>true</FunctionLevelLinking> | |
91 | <PrecompiledHeader /> | |
92 | <WarningLevel>Level3</WarningLevel> | |
93 | </ClCompile> | |
94 | <ResourceCompile> | |
95 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
96 | <Culture>0x0413</Culture> | |
97 | </ResourceCompile> | |
98 | <Link> | |
99 | <SubSystem>Console</SubSystem> | |
100 | </Link> | |
101 | </ItemDefinitionGroup> | |
102 | <ItemGroup> | |
103 | <ClCompile Include="..\..\frontend\audio.c" /> | |
104 | <ClCompile Include="..\..\frontend\main.c" /> | |
105 | <ClCompile Include="..\..\frontend\mp4read.c" /> | |
106 | <ClCompile Include="..\..\frontend\unicode_support.c" /> | |
107 | </ItemGroup> | |
108 | <ItemGroup> | |
109 | <ClInclude Include="..\..\frontend\getopt.h" /> | |
110 | <ClInclude Include="..\..\common\mp4v2\win32_ver.h" /> | |
111 | <ClInclude Include="..\..\frontend\mp4read.h" /> | |
112 | <ClInclude Include="..\..\frontend\unicode_support.h" /> | |
113 | <ClInclude Include="..\..\include\neaacdec.h" /> | |
114 | <ClInclude Include="..\..\frontend\audio.h" /> | |
115 | </ItemGroup> | |
116 | <ItemGroup> | |
117 | <ProjectReference Include="libfaad.vcxproj"> | |
118 | <Project>{bc3efe27-9015-4c9c-ad3c-72b3b7ed2114}</Project> | |
119 | </ProjectReference> | |
120 | </ItemGroup> | |
121 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | |
122 | <ImportGroup Label="ExtensionTargets"> | |
123 | </ImportGroup> | |
124 | </Project>⏎ |
0 | <?xml version="1.0" encoding="utf-8"?> | |
1 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
2 | <ItemGroup> | |
3 | <Filter Include="Source Files"> | |
4 | <UniqueIdentifier>{6471b163-f0fb-4df0-b3f4-a98d81d5acd5}</UniqueIdentifier> | |
5 | <Extensions>cpp;c;cxx;rc;def;r;odl;idl;hpj;bat</Extensions> | |
6 | </Filter> | |
7 | <Filter Include="Header Files"> | |
8 | <UniqueIdentifier>{b68959bb-0fd2-4bc1-92be-187b7a5161e4}</UniqueIdentifier> | |
9 | <Extensions>h;hpp;hxx;hm;inl</Extensions> | |
10 | </Filter> | |
11 | </ItemGroup> | |
12 | <ItemGroup> | |
13 | <ClCompile Include="..\..\frontend\audio.c"> | |
14 | <Filter>Source Files</Filter> | |
15 | </ClCompile> | |
16 | <ClCompile Include="..\..\frontend\main.c"> | |
17 | <Filter>Source Files</Filter> | |
18 | </ClCompile> | |
19 | <ClCompile Include="..\..\frontend\mp4read.c"> | |
20 | <Filter>Source Files</Filter> | |
21 | </ClCompile> | |
22 | <ClCompile Include="..\..\frontend\unicode_support.c"> | |
23 | <Filter>Source Files</Filter> | |
24 | </ClCompile> | |
25 | </ItemGroup> | |
26 | <ItemGroup> | |
27 | <ClInclude Include="..\..\frontend\audio.h"> | |
28 | <Filter>Header Files</Filter> | |
29 | </ClInclude> | |
30 | <ClInclude Include="..\..\frontend\getopt.h"> | |
31 | <Filter>Header Files</Filter> | |
32 | </ClInclude> | |
33 | <ClInclude Include="..\..\include\neaacdec.h"> | |
34 | <Filter>Header Files</Filter> | |
35 | </ClInclude> | |
36 | <ClInclude Include="..\..\common\mp4v2\win32_ver.h"> | |
37 | <Filter>Header Files</Filter> | |
38 | </ClInclude> | |
39 | <ClInclude Include="..\..\frontend\mp4read.h"> | |
40 | <Filter>Header Files</Filter> | |
41 | </ClInclude> | |
42 | <ClInclude Include="..\..\frontend\unicode_support.h"> | |
43 | <Filter>Header Files</Filter> | |
44 | </ClInclude> | |
45 | </ItemGroup> | |
46 | </Project>⏎ |
0 | Microsoft Visual Studio Solution File, Format Version 12.00 | |
1 | # Visual Studio 15 | |
2 | VisualStudioVersion = 15.0.26730.12 | |
3 | MinimumVisualStudioVersion = 10.0.40219.1 | |
4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "aacinfo", "aacinfo.vcxproj", "{FE985E4D-79DB-4DD3-BFED-824B4677A161}" | |
5 | EndProject | |
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libfaad", "libfaad.vcxproj", "{BC3EFE27-9015-4C9C-AD3C-72B3B7ED2114}" | |
7 | EndProject | |
8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libfaad2_dll", "libfaad2_dll.vcxproj", "{482DA264-EE88-4575-B208-87C4CB80CD08}" | |
9 | EndProject | |
10 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "faad", "faad.vcxproj", "{2BD8CBB3-DFC9-4A6A-9B7A-07ED749BED58}" | |
11 | EndProject | |
12 | Global | |
13 | GlobalSection(SolutionConfigurationPlatforms) = preSolution | |
14 | Debug|Win32 = Debug|Win32 | |
15 | Release|Win32 = Release|Win32 | |
16 | EndGlobalSection | |
17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution | |
18 | {FE985E4D-79DB-4DD3-BFED-824B4677A161}.Debug|Win32.ActiveCfg = Debug|Win32 | |
19 | {FE985E4D-79DB-4DD3-BFED-824B4677A161}.Debug|Win32.Build.0 = Debug|Win32 | |
20 | {FE985E4D-79DB-4DD3-BFED-824B4677A161}.Release|Win32.ActiveCfg = Release|Win32 | |
21 | {FE985E4D-79DB-4DD3-BFED-824B4677A161}.Release|Win32.Build.0 = Release|Win32 | |
22 | {BC3EFE27-9015-4C9C-AD3C-72B3B7ED2114}.Debug|Win32.ActiveCfg = Debug|Win32 | |
23 | {BC3EFE27-9015-4C9C-AD3C-72B3B7ED2114}.Debug|Win32.Build.0 = Debug|Win32 | |
24 | {BC3EFE27-9015-4C9C-AD3C-72B3B7ED2114}.Release|Win32.ActiveCfg = Release|Win32 | |
25 | {BC3EFE27-9015-4C9C-AD3C-72B3B7ED2114}.Release|Win32.Build.0 = Release|Win32 | |
26 | {482DA264-EE88-4575-B208-87C4CB80CD08}.Debug|Win32.ActiveCfg = Debug|Win32 | |
27 | {482DA264-EE88-4575-B208-87C4CB80CD08}.Debug|Win32.Build.0 = Debug|Win32 | |
28 | {482DA264-EE88-4575-B208-87C4CB80CD08}.Release|Win32.ActiveCfg = Release|Win32 | |
29 | {482DA264-EE88-4575-B208-87C4CB80CD08}.Release|Win32.Build.0 = Release|Win32 | |
30 | {2BD8CBB3-DFC9-4A6A-9B7A-07ED749BED58}.Debug|Win32.ActiveCfg = Debug|Win32 | |
31 | {2BD8CBB3-DFC9-4A6A-9B7A-07ED749BED58}.Debug|Win32.Build.0 = Debug|Win32 | |
32 | {2BD8CBB3-DFC9-4A6A-9B7A-07ED749BED58}.Release|Win32.ActiveCfg = Release|Win32 | |
33 | {2BD8CBB3-DFC9-4A6A-9B7A-07ED749BED58}.Release|Win32.Build.0 = Release|Win32 | |
34 | EndGlobalSection | |
35 | GlobalSection(SolutionProperties) = preSolution | |
36 | HideSolutionNode = FALSE | |
37 | EndGlobalSection | |
38 | GlobalSection(ExtensibilityGlobals) = postSolution | |
39 | SolutionGuid = {89E2B8B3-42E4-4058-9565-E79943F3445F} | |
40 | EndGlobalSection | |
41 | GlobalSection(DPCodeReviewSolutionGUID) = preSolution | |
42 | DPCodeReviewSolutionGUID = {00000000-0000-0000-0000-000000000000} | |
43 | EndGlobalSection | |
44 | EndGlobal |
0 | <?xml version="1.0" encoding="utf-8"?> | |
1 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
2 | <ItemGroup Label="ProjectConfigurations"> | |
3 | <ProjectConfiguration Include="Debug|Win32"> | |
4 | <Configuration>Debug</Configuration> | |
5 | <Platform>Win32</Platform> | |
6 | </ProjectConfiguration> | |
7 | <ProjectConfiguration Include="Release|Win32"> | |
8 | <Configuration>Release</Configuration> | |
9 | <Platform>Win32</Platform> | |
10 | </ProjectConfiguration> | |
11 | </ItemGroup> | |
12 | <PropertyGroup Label="Globals"> | |
13 | <ProjectGuid>{BC3EFE27-9015-4C9C-AD3C-72B3B7ED2114}</ProjectGuid> | |
14 | <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion> | |
15 | </PropertyGroup> | |
16 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | |
17 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | |
18 | <ConfigurationType>StaticLibrary</ConfigurationType> | |
19 | <PlatformToolset>v141</PlatformToolset> | |
20 | </PropertyGroup> | |
21 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | |
22 | <ConfigurationType>StaticLibrary</ConfigurationType> | |
23 | <PlatformToolset>v141</PlatformToolset> | |
24 | </PropertyGroup> | |
25 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |
26 | <ImportGroup Label="ExtensionSettings"> | |
27 | </ImportGroup> | |
28 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> | |
29 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
30 | </ImportGroup> | |
31 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> | |
32 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
33 | </ImportGroup> | |
34 | <PropertyGroup Label="UserMacros" /> | |
35 | <PropertyGroup> | |
36 | <_ProjectFileVersion>15.0.26730.12</_ProjectFileVersion> | |
37 | </PropertyGroup> | |
38 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
39 | <OutDir>.\bin\$(Configuration)\</OutDir> | |
40 | <IntDir>.\intermediate\$(Configuration)\$(ProjectName)\</IntDir> | |
41 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> | |
42 | <CodeAnalysisRules /> | |
43 | <CodeAnalysisRuleAssemblies /> | |
44 | </PropertyGroup> | |
45 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
46 | <OutDir>.\bin\$(Configuration)\</OutDir> | |
47 | <IntDir>.\intermediate\$(Configuration)\$(ProjectName)\</IntDir> | |
48 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> | |
49 | <CodeAnalysisRules /> | |
50 | <CodeAnalysisRuleAssemblies /> | |
51 | </PropertyGroup> | |
52 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
53 | <ClCompile> | |
54 | <Optimization>MaxSpeed</Optimization> | |
55 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | |
56 | <AdditionalIncludeDirectories>../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |
57 | <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;NDEBUG;WIN32;_LIB;HAVE_LRINTF;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
58 | <StringPooling>true</StringPooling> | |
59 | <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |
60 | <FunctionLevelLinking>true</FunctionLevelLinking> | |
61 | <PrecompiledHeader /> | |
62 | <WarningLevel>Level3</WarningLevel> | |
63 | </ClCompile> | |
64 | <ResourceCompile> | |
65 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
66 | <Culture>0x0413</Culture> | |
67 | </ResourceCompile> | |
68 | <Lib /> | |
69 | <PreBuildEvent> | |
70 | <Command>"$(SolutionDir)..\..\utils\win32\ac2ver.exe" "faad2" "$(SolutionDir)..\..\configure.ac" > "$(SolutionDir)..\..\libfaad\win32_ver.h"</Command> | |
71 | </PreBuildEvent> | |
72 | <PreBuildEvent> | |
73 | <Message>Retrieving package version...</Message> | |
74 | </PreBuildEvent> | |
75 | </ItemDefinitionGroup> | |
76 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
77 | <ClCompile> | |
78 | <Optimization>Disabled</Optimization> | |
79 | <AdditionalIncludeDirectories>../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |
80 | <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_DEBUG;WIN32;_LIB;HAVE_LRINTF;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
81 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | |
82 | <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | |
83 | <PrecompiledHeader /> | |
84 | <WarningLevel>Level3</WarningLevel> | |
85 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | |
86 | </ClCompile> | |
87 | <ResourceCompile> | |
88 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
89 | <Culture>0x0413</Culture> | |
90 | </ResourceCompile> | |
91 | <Lib /> | |
92 | <PreBuildEvent> | |
93 | <Command>"$(SolutionDir)..\..\utils\win32\ac2ver.exe" "faad2" "$(SolutionDir)..\..\configure.ac" > "$(SolutionDir)..\..\libfaad\win32_ver.h"</Command> | |
94 | </PreBuildEvent> | |
95 | <PreBuildEvent> | |
96 | <Message>Retrieving package version...</Message> | |
97 | </PreBuildEvent> | |
98 | </ItemDefinitionGroup> | |
99 | <ItemGroup> | |
100 | <ClCompile Include="..\..\libfaad\bits.c" /> | |
101 | <ClCompile Include="..\..\libfaad\cfft.c" /> | |
102 | <ClCompile Include="..\..\libfaad\common.c" /> | |
103 | <ClCompile Include="..\..\libfaad\decoder.c" /> | |
104 | <ClCompile Include="..\..\libfaad\drc.c" /> | |
105 | <ClCompile Include="..\..\libfaad\drm_dec.c" /> | |
106 | <ClCompile Include="..\..\libfaad\error.c" /> | |
107 | <ClCompile Include="..\..\libfaad\filtbank.c" /> | |
108 | <ClCompile Include="..\..\libfaad\hcr.c" /> | |
109 | <ClCompile Include="..\..\libfaad\huffman.c" /> | |
110 | <ClCompile Include="..\..\libfaad\ic_predict.c" /> | |
111 | <ClCompile Include="..\..\libfaad\is.c" /> | |
112 | <ClCompile Include="..\..\libfaad\lt_predict.c" /> | |
113 | <ClCompile Include="..\..\libfaad\mdct.c" /> | |
114 | <ClCompile Include="..\..\libfaad\mp4.c" /> | |
115 | <ClCompile Include="..\..\libfaad\ms.c" /> | |
116 | <ClCompile Include="..\..\libfaad\output.c" /> | |
117 | <ClCompile Include="..\..\libfaad\pns.c" /> | |
118 | <ClCompile Include="..\..\libfaad\ps_dec.c" /> | |
119 | <ClCompile Include="..\..\libfaad\ps_syntax.c" /> | |
120 | <ClCompile Include="..\..\libfaad\pulse.c" /> | |
121 | <ClCompile Include="..\..\libfaad\rvlc.c" /> | |
122 | <ClCompile Include="..\..\libfaad\sbr_dct.c" /> | |
123 | <ClCompile Include="..\..\libfaad\sbr_dec.c" /> | |
124 | <ClCompile Include="..\..\libfaad\sbr_e_nf.c" /> | |
125 | <ClCompile Include="..\..\libfaad\sbr_fbt.c" /> | |
126 | <ClCompile Include="..\..\libfaad\sbr_hfadj.c" /> | |
127 | <ClCompile Include="..\..\libfaad\sbr_hfgen.c" /> | |
128 | <ClCompile Include="..\..\libfaad\sbr_huff.c" /> | |
129 | <ClCompile Include="..\..\libfaad\sbr_qmf.c" /> | |
130 | <ClCompile Include="..\..\libfaad\sbr_syntax.c" /> | |
131 | <ClCompile Include="..\..\libfaad\sbr_tf_grid.c" /> | |
132 | <ClCompile Include="..\..\libfaad\specrec.c" /> | |
133 | <ClCompile Include="..\..\libfaad\ssr.c" /> | |
134 | <ClCompile Include="..\..\libfaad\ssr_fb.c" /> | |
135 | <ClCompile Include="..\..\libfaad\ssr_ipqf.c" /> | |
136 | <ClCompile Include="..\..\libfaad\syntax.c" /> | |
137 | <ClCompile Include="..\..\libfaad\tns.c" /> | |
138 | </ItemGroup> | |
139 | <ItemGroup> | |
140 | <ClInclude Include="..\..\libfaad\analysis.h" /> | |
141 | <ClInclude Include="..\..\libfaad\bits.h" /> | |
142 | <ClInclude Include="..\..\libfaad\cfft.h" /> | |
143 | <ClInclude Include="..\..\libfaad\cfft_tab.h" /> | |
144 | <ClInclude Include="..\..\libfaad\codebook\hcb.h" /> | |
145 | <ClInclude Include="..\..\libfaad\codebook\hcb_1.h" /> | |
146 | <ClInclude Include="..\..\libfaad\codebook\hcb_10.h" /> | |
147 | <ClInclude Include="..\..\libfaad\codebook\hcb_11.h" /> | |
148 | <ClInclude Include="..\..\libfaad\codebook\hcb_2.h" /> | |
149 | <ClInclude Include="..\..\libfaad\codebook\hcb_3.h" /> | |
150 | <ClInclude Include="..\..\libfaad\codebook\hcb_4.h" /> | |
151 | <ClInclude Include="..\..\libfaad\codebook\hcb_5.h" /> | |
152 | <ClInclude Include="..\..\libfaad\codebook\hcb_6.h" /> | |
153 | <ClInclude Include="..\..\libfaad\codebook\hcb_7.h" /> | |
154 | <ClInclude Include="..\..\libfaad\codebook\hcb_8.h" /> | |
155 | <ClInclude Include="..\..\libfaad\codebook\hcb_9.h" /> | |
156 | <ClInclude Include="..\..\libfaad\codebook\hcb_sf.h" /> | |
157 | <ClInclude Include="..\..\libfaad\common.h" /> | |
158 | <ClInclude Include="..\..\libfaad\drc.h" /> | |
159 | <ClInclude Include="..\..\libfaad\drm_dec.h" /> | |
160 | <ClInclude Include="..\..\libfaad\error.h" /> | |
161 | <ClInclude Include="..\..\libfaad\filtbank.h" /> | |
162 | <ClInclude Include="..\..\libfaad\fixed.h" /> | |
163 | <ClInclude Include="..\..\libfaad\huffman.h" /> | |
164 | <ClInclude Include="..\..\libfaad\ic_predict.h" /> | |
165 | <ClInclude Include="..\..\libfaad\iq_table.h" /> | |
166 | <ClInclude Include="..\..\libfaad\is.h" /> | |
167 | <ClInclude Include="..\..\libfaad\kbd_win.h" /> | |
168 | <ClInclude Include="..\..\libfaad\lt_predict.h" /> | |
169 | <ClInclude Include="..\..\libfaad\mdct.h" /> | |
170 | <ClInclude Include="..\..\libfaad\mp4.h" /> | |
171 | <ClInclude Include="..\..\libfaad\ms.h" /> | |
172 | <ClInclude Include="..\..\libfaad\output.h" /> | |
173 | <ClInclude Include="..\..\libfaad\pns.h" /> | |
174 | <ClInclude Include="..\..\libfaad\ps_dec.h" /> | |
175 | <ClInclude Include="..\..\libfaad\ps_tables.h" /> | |
176 | <ClInclude Include="..\..\libfaad\pulse.h" /> | |
177 | <ClInclude Include="..\..\libfaad\rvlc.h" /> | |
178 | <ClInclude Include="..\..\libfaad\sbr_dct.h" /> | |
179 | <ClInclude Include="..\..\libfaad\sbr_dec.h" /> | |
180 | <ClInclude Include="..\..\libfaad\sbr_e_nf.h" /> | |
181 | <ClInclude Include="..\..\libfaad\sbr_fbt.h" /> | |
182 | <ClInclude Include="..\..\libfaad\sbr_hfadj.h" /> | |
183 | <ClInclude Include="..\..\libfaad\sbr_hfgen.h" /> | |
184 | <ClInclude Include="..\..\libfaad\sbr_huff.h" /> | |
185 | <ClInclude Include="..\..\libfaad\sbr_noise.h" /> | |
186 | <ClInclude Include="..\..\libfaad\sbr_qmf.h" /> | |
187 | <ClInclude Include="..\..\libfaad\sbr_syntax.h" /> | |
188 | <ClInclude Include="..\..\libfaad\sbr_tf_grid.h" /> | |
189 | <ClInclude Include="..\..\libfaad\sine_win.h" /> | |
190 | <ClInclude Include="..\..\libfaad\specrec.h" /> | |
191 | <ClInclude Include="..\..\libfaad\ssr.h" /> | |
192 | <ClInclude Include="..\..\libfaad\structs.h" /> | |
193 | <ClInclude Include="..\..\libfaad\syntax.h" /> | |
194 | <ClInclude Include="..\..\libfaad\tns.h" /> | |
195 | </ItemGroup> | |
196 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | |
197 | <ImportGroup Label="ExtensionTargets"> | |
198 | </ImportGroup> | |
199 | </Project>⏎ |
0 | <?xml version="1.0" encoding="utf-8"?> | |
1 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
2 | <ItemGroup> | |
3 | <Filter Include="Source Files"> | |
4 | <UniqueIdentifier>{619aded3-55ea-4189-9fe0-5214a4d91e93}</UniqueIdentifier> | |
5 | <Extensions>cpp;c;cxx;rc;def;r;odl;idl;hpj;bat</Extensions> | |
6 | </Filter> | |
7 | <Filter Include="Header Files"> | |
8 | <UniqueIdentifier>{6f786fdd-858d-47ce-9a6e-e09b46c63fbb}</UniqueIdentifier> | |
9 | <Extensions>h;hpp;hxx;hm;inl</Extensions> | |
10 | </Filter> | |
11 | <Filter Include="Header Files\codebook"> | |
12 | <UniqueIdentifier>{8cc5d783-4bb8-4e95-9da0-67901052651a}</UniqueIdentifier> | |
13 | </Filter> | |
14 | </ItemGroup> | |
15 | <ItemGroup> | |
16 | <ClCompile Include="..\..\libfaad\bits.c"> | |
17 | <Filter>Source Files</Filter> | |
18 | </ClCompile> | |
19 | <ClCompile Include="..\..\libfaad\cfft.c"> | |
20 | <Filter>Source Files</Filter> | |
21 | </ClCompile> | |
22 | <ClCompile Include="..\..\libfaad\common.c"> | |
23 | <Filter>Source Files</Filter> | |
24 | </ClCompile> | |
25 | <ClCompile Include="..\..\libfaad\decoder.c"> | |
26 | <Filter>Source Files</Filter> | |
27 | </ClCompile> | |
28 | <ClCompile Include="..\..\libfaad\drc.c"> | |
29 | <Filter>Source Files</Filter> | |
30 | </ClCompile> | |
31 | <ClCompile Include="..\..\libfaad\drm_dec.c"> | |
32 | <Filter>Source Files</Filter> | |
33 | </ClCompile> | |
34 | <ClCompile Include="..\..\libfaad\error.c"> | |
35 | <Filter>Source Files</Filter> | |
36 | </ClCompile> | |
37 | <ClCompile Include="..\..\libfaad\filtbank.c"> | |
38 | <Filter>Source Files</Filter> | |
39 | </ClCompile> | |
40 | <ClCompile Include="..\..\libfaad\hcr.c"> | |
41 | <Filter>Source Files</Filter> | |
42 | </ClCompile> | |
43 | <ClCompile Include="..\..\libfaad\huffman.c"> | |
44 | <Filter>Source Files</Filter> | |
45 | </ClCompile> | |
46 | <ClCompile Include="..\..\libfaad\ic_predict.c"> | |
47 | <Filter>Source Files</Filter> | |
48 | </ClCompile> | |
49 | <ClCompile Include="..\..\libfaad\is.c"> | |
50 | <Filter>Source Files</Filter> | |
51 | </ClCompile> | |
52 | <ClCompile Include="..\..\libfaad\lt_predict.c"> | |
53 | <Filter>Source Files</Filter> | |
54 | </ClCompile> | |
55 | <ClCompile Include="..\..\libfaad\mdct.c"> | |
56 | <Filter>Source Files</Filter> | |
57 | </ClCompile> | |
58 | <ClCompile Include="..\..\libfaad\mp4.c"> | |
59 | <Filter>Source Files</Filter> | |
60 | </ClCompile> | |
61 | <ClCompile Include="..\..\libfaad\ms.c"> | |
62 | <Filter>Source Files</Filter> | |
63 | </ClCompile> | |
64 | <ClCompile Include="..\..\libfaad\output.c"> | |
65 | <Filter>Source Files</Filter> | |
66 | </ClCompile> | |
67 | <ClCompile Include="..\..\libfaad\pns.c"> | |
68 | <Filter>Source Files</Filter> | |
69 | </ClCompile> | |
70 | <ClCompile Include="..\..\libfaad\ps_dec.c"> | |
71 | <Filter>Source Files</Filter> | |
72 | </ClCompile> | |
73 | <ClCompile Include="..\..\libfaad\ps_syntax.c"> | |
74 | <Filter>Source Files</Filter> | |
75 | </ClCompile> | |
76 | <ClCompile Include="..\..\libfaad\pulse.c"> | |
77 | <Filter>Source Files</Filter> | |
78 | </ClCompile> | |
79 | <ClCompile Include="..\..\libfaad\rvlc.c"> | |
80 | <Filter>Source Files</Filter> | |
81 | </ClCompile> | |
82 | <ClCompile Include="..\..\libfaad\sbr_dct.c"> | |
83 | <Filter>Source Files</Filter> | |
84 | </ClCompile> | |
85 | <ClCompile Include="..\..\libfaad\sbr_dec.c"> | |
86 | <Filter>Source Files</Filter> | |
87 | </ClCompile> | |
88 | <ClCompile Include="..\..\libfaad\sbr_e_nf.c"> | |
89 | <Filter>Source Files</Filter> | |
90 | </ClCompile> | |
91 | <ClCompile Include="..\..\libfaad\sbr_fbt.c"> | |
92 | <Filter>Source Files</Filter> | |
93 | </ClCompile> | |
94 | <ClCompile Include="..\..\libfaad\sbr_hfadj.c"> | |
95 | <Filter>Source Files</Filter> | |
96 | </ClCompile> | |
97 | <ClCompile Include="..\..\libfaad\sbr_hfgen.c"> | |
98 | <Filter>Source Files</Filter> | |
99 | </ClCompile> | |
100 | <ClCompile Include="..\..\libfaad\sbr_huff.c"> | |
101 | <Filter>Source Files</Filter> | |
102 | </ClCompile> | |
103 | <ClCompile Include="..\..\libfaad\sbr_qmf.c"> | |
104 | <Filter>Source Files</Filter> | |
105 | </ClCompile> | |
106 | <ClCompile Include="..\..\libfaad\sbr_syntax.c"> | |
107 | <Filter>Source Files</Filter> | |
108 | </ClCompile> | |
109 | <ClCompile Include="..\..\libfaad\sbr_tf_grid.c"> | |
110 | <Filter>Source Files</Filter> | |
111 | </ClCompile> | |
112 | <ClCompile Include="..\..\libfaad\specrec.c"> | |
113 | <Filter>Source Files</Filter> | |
114 | </ClCompile> | |
115 | <ClCompile Include="..\..\libfaad\ssr.c"> | |
116 | <Filter>Source Files</Filter> | |
117 | </ClCompile> | |
118 | <ClCompile Include="..\..\libfaad\ssr_fb.c"> | |
119 | <Filter>Source Files</Filter> | |
120 | </ClCompile> | |
121 | <ClCompile Include="..\..\libfaad\ssr_ipqf.c"> | |
122 | <Filter>Source Files</Filter> | |
123 | </ClCompile> | |
124 | <ClCompile Include="..\..\libfaad\syntax.c"> | |
125 | <Filter>Source Files</Filter> | |
126 | </ClCompile> | |
127 | <ClCompile Include="..\..\libfaad\tns.c"> | |
128 | <Filter>Source Files</Filter> | |
129 | </ClCompile> | |
130 | </ItemGroup> | |
131 | <ItemGroup> | |
132 | <ClInclude Include="..\..\libfaad\analysis.h"> | |
133 | <Filter>Header Files</Filter> | |
134 | </ClInclude> | |
135 | <ClInclude Include="..\..\libfaad\bits.h"> | |
136 | <Filter>Header Files</Filter> | |
137 | </ClInclude> | |
138 | <ClInclude Include="..\..\libfaad\cfft.h"> | |
139 | <Filter>Header Files</Filter> | |
140 | </ClInclude> | |
141 | <ClInclude Include="..\..\libfaad\cfft_tab.h"> | |
142 | <Filter>Header Files</Filter> | |
143 | </ClInclude> | |
144 | <ClInclude Include="..\..\libfaad\common.h"> | |
145 | <Filter>Header Files</Filter> | |
146 | </ClInclude> | |
147 | <ClInclude Include="..\..\libfaad\drc.h"> | |
148 | <Filter>Header Files</Filter> | |
149 | </ClInclude> | |
150 | <ClInclude Include="..\..\libfaad\drm_dec.h"> | |
151 | <Filter>Header Files</Filter> | |
152 | </ClInclude> | |
153 | <ClInclude Include="..\..\libfaad\error.h"> | |
154 | <Filter>Header Files</Filter> | |
155 | </ClInclude> | |
156 | <ClInclude Include="..\..\libfaad\filtbank.h"> | |
157 | <Filter>Header Files</Filter> | |
158 | </ClInclude> | |
159 | <ClInclude Include="..\..\libfaad\fixed.h"> | |
160 | <Filter>Header Files</Filter> | |
161 | </ClInclude> | |
162 | <ClInclude Include="..\..\libfaad\codebook\hcb.h"> | |
163 | <Filter>Header Files</Filter> | |
164 | </ClInclude> | |
165 | <ClInclude Include="..\..\libfaad\huffman.h"> | |
166 | <Filter>Header Files</Filter> | |
167 | </ClInclude> | |
168 | <ClInclude Include="..\..\libfaad\ic_predict.h"> | |
169 | <Filter>Header Files</Filter> | |
170 | </ClInclude> | |
171 | <ClInclude Include="..\..\libfaad\iq_table.h"> | |
172 | <Filter>Header Files</Filter> | |
173 | </ClInclude> | |
174 | <ClInclude Include="..\..\libfaad\is.h"> | |
175 | <Filter>Header Files</Filter> | |
176 | </ClInclude> | |
177 | <ClInclude Include="..\..\libfaad\kbd_win.h"> | |
178 | <Filter>Header Files</Filter> | |
179 | </ClInclude> | |
180 | <ClInclude Include="..\..\libfaad\lt_predict.h"> | |
181 | <Filter>Header Files</Filter> | |
182 | </ClInclude> | |
183 | <ClInclude Include="..\..\libfaad\mdct.h"> | |
184 | <Filter>Header Files</Filter> | |
185 | </ClInclude> | |
186 | <ClInclude Include="..\..\libfaad\mp4.h"> | |
187 | <Filter>Header Files</Filter> | |
188 | </ClInclude> | |
189 | <ClInclude Include="..\..\libfaad\ms.h"> | |
190 | <Filter>Header Files</Filter> | |
191 | </ClInclude> | |
192 | <ClInclude Include="..\..\libfaad\output.h"> | |
193 | <Filter>Header Files</Filter> | |
194 | </ClInclude> | |
195 | <ClInclude Include="..\..\libfaad\pns.h"> | |
196 | <Filter>Header Files</Filter> | |
197 | </ClInclude> | |
198 | <ClInclude Include="..\..\libfaad\ps_dec.h"> | |
199 | <Filter>Header Files</Filter> | |
200 | </ClInclude> | |
201 | <ClInclude Include="..\..\libfaad\ps_tables.h"> | |
202 | <Filter>Header Files</Filter> | |
203 | </ClInclude> | |
204 | <ClInclude Include="..\..\libfaad\pulse.h"> | |
205 | <Filter>Header Files</Filter> | |
206 | </ClInclude> | |
207 | <ClInclude Include="..\..\libfaad\rvlc.h"> | |
208 | <Filter>Header Files</Filter> | |
209 | </ClInclude> | |
210 | <ClInclude Include="..\..\libfaad\sbr_dct.h"> | |
211 | <Filter>Header Files</Filter> | |
212 | </ClInclude> | |
213 | <ClInclude Include="..\..\libfaad\sbr_dec.h"> | |
214 | <Filter>Header Files</Filter> | |
215 | </ClInclude> | |
216 | <ClInclude Include="..\..\libfaad\sbr_e_nf.h"> | |
217 | <Filter>Header Files</Filter> | |
218 | </ClInclude> | |
219 | <ClInclude Include="..\..\libfaad\sbr_fbt.h"> | |
220 | <Filter>Header Files</Filter> | |
221 | </ClInclude> | |
222 | <ClInclude Include="..\..\libfaad\sbr_hfadj.h"> | |
223 | <Filter>Header Files</Filter> | |
224 | </ClInclude> | |
225 | <ClInclude Include="..\..\libfaad\sbr_hfgen.h"> | |
226 | <Filter>Header Files</Filter> | |
227 | </ClInclude> | |
228 | <ClInclude Include="..\..\libfaad\sbr_huff.h"> | |
229 | <Filter>Header Files</Filter> | |
230 | </ClInclude> | |
231 | <ClInclude Include="..\..\libfaad\sbr_noise.h"> | |
232 | <Filter>Header Files</Filter> | |
233 | </ClInclude> | |
234 | <ClInclude Include="..\..\libfaad\sbr_qmf.h"> | |
235 | <Filter>Header Files</Filter> | |
236 | </ClInclude> | |
237 | <ClInclude Include="..\..\libfaad\sbr_syntax.h"> | |
238 | <Filter>Header Files</Filter> | |
239 | </ClInclude> | |
240 | <ClInclude Include="..\..\libfaad\sbr_tf_grid.h"> | |
241 | <Filter>Header Files</Filter> | |
242 | </ClInclude> | |
243 | <ClInclude Include="..\..\libfaad\sine_win.h"> | |
244 | <Filter>Header Files</Filter> | |
245 | </ClInclude> | |
246 | <ClInclude Include="..\..\libfaad\specrec.h"> | |
247 | <Filter>Header Files</Filter> | |
248 | </ClInclude> | |
249 | <ClInclude Include="..\..\libfaad\ssr.h"> | |
250 | <Filter>Header Files</Filter> | |
251 | </ClInclude> | |
252 | <ClInclude Include="..\..\libfaad\structs.h"> | |
253 | <Filter>Header Files</Filter> | |
254 | </ClInclude> | |
255 | <ClInclude Include="..\..\libfaad\syntax.h"> | |
256 | <Filter>Header Files</Filter> | |
257 | </ClInclude> | |
258 | <ClInclude Include="..\..\libfaad\tns.h"> | |
259 | <Filter>Header Files</Filter> | |
260 | </ClInclude> | |
261 | <ClInclude Include="..\..\libfaad\codebook\hcb_1.h"> | |
262 | <Filter>Header Files\codebook</Filter> | |
263 | </ClInclude> | |
264 | <ClInclude Include="..\..\libfaad\codebook\hcb_10.h"> | |
265 | <Filter>Header Files\codebook</Filter> | |
266 | </ClInclude> | |
267 | <ClInclude Include="..\..\libfaad\codebook\hcb_11.h"> | |
268 | <Filter>Header Files\codebook</Filter> | |
269 | </ClInclude> | |
270 | <ClInclude Include="..\..\libfaad\codebook\hcb_2.h"> | |
271 | <Filter>Header Files\codebook</Filter> | |
272 | </ClInclude> | |
273 | <ClInclude Include="..\..\libfaad\codebook\hcb_3.h"> | |
274 | <Filter>Header Files\codebook</Filter> | |
275 | </ClInclude> | |
276 | <ClInclude Include="..\..\libfaad\codebook\hcb_4.h"> | |
277 | <Filter>Header Files\codebook</Filter> | |
278 | </ClInclude> | |
279 | <ClInclude Include="..\..\libfaad\codebook\hcb_5.h"> | |
280 | <Filter>Header Files\codebook</Filter> | |
281 | </ClInclude> | |
282 | <ClInclude Include="..\..\libfaad\codebook\hcb_6.h"> | |
283 | <Filter>Header Files\codebook</Filter> | |
284 | </ClInclude> | |
285 | <ClInclude Include="..\..\libfaad\codebook\hcb_7.h"> | |
286 | <Filter>Header Files\codebook</Filter> | |
287 | </ClInclude> | |
288 | <ClInclude Include="..\..\libfaad\codebook\hcb_8.h"> | |
289 | <Filter>Header Files\codebook</Filter> | |
290 | </ClInclude> | |
291 | <ClInclude Include="..\..\libfaad\codebook\hcb_9.h"> | |
292 | <Filter>Header Files\codebook</Filter> | |
293 | </ClInclude> | |
294 | <ClInclude Include="..\..\libfaad\codebook\hcb_sf.h"> | |
295 | <Filter>Header Files\codebook</Filter> | |
296 | </ClInclude> | |
297 | </ItemGroup> | |
298 | </Project>⏎ |
0 | EXPORTS | |
1 | ; | |
2 | ; libfaad2 exports | |
3 | ; | |
4 | NeAACDecOpen @1 | |
5 | NeAACDecGetCurrentConfiguration @2 | |
6 | NeAACDecSetConfiguration @3 | |
7 | NeAACDecInit @4 | |
8 | NeAACDecInit2 @5 | |
9 | NeAACDecDecode @6 | |
10 | NeAACDecClose @7 | |
11 | NeAACDecGetErrorMessage @8 | |
12 | NeAACDecAudioSpecificConfig @9 | |
13 | NeAACDecPostSeekReset @10 | |
14 | NeAACDecDecode2 @11 |
0 | <?xml version="1.0" encoding="utf-8"?> | |
1 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
2 | <ItemGroup Label="ProjectConfigurations"> | |
3 | <ProjectConfiguration Include="Debug|Win32"> | |
4 | <Configuration>Debug</Configuration> | |
5 | <Platform>Win32</Platform> | |
6 | </ProjectConfiguration> | |
7 | <ProjectConfiguration Include="Release|Win32"> | |
8 | <Configuration>Release</Configuration> | |
9 | <Platform>Win32</Platform> | |
10 | </ProjectConfiguration> | |
11 | </ItemGroup> | |
12 | <PropertyGroup Label="Globals"> | |
13 | <ProjectGuid>{482DA264-EE88-4575-B208-87C4CB80CD08}</ProjectGuid> | |
14 | <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion> | |
15 | </PropertyGroup> | |
16 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | |
17 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | |
18 | <ConfigurationType>DynamicLibrary</ConfigurationType> | |
19 | <PlatformToolset>v141</PlatformToolset> | |
20 | </PropertyGroup> | |
21 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | |
22 | <ConfigurationType>DynamicLibrary</ConfigurationType> | |
23 | <PlatformToolset>v141</PlatformToolset> | |
24 | </PropertyGroup> | |
25 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | |
26 | <ImportGroup Label="ExtensionSettings"> | |
27 | </ImportGroup> | |
28 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> | |
29 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
30 | </ImportGroup> | |
31 | <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> | |
32 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | |
33 | </ImportGroup> | |
34 | <PropertyGroup Label="UserMacros" /> | |
35 | <PropertyGroup> | |
36 | <_ProjectFileVersion>15.0.26730.12</_ProjectFileVersion> | |
37 | </PropertyGroup> | |
38 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
39 | <OutDir>.\bin\$(Configuration)\</OutDir> | |
40 | <IntDir>.\intermediate\$(Configuration)\$(ProjectName)\</IntDir> | |
41 | <LinkIncremental>true</LinkIncremental> | |
42 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> | |
43 | <CodeAnalysisRules /> | |
44 | <CodeAnalysisRuleAssemblies /> | |
45 | </PropertyGroup> | |
46 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
47 | <OutDir>.\bin\$(Configuration)\</OutDir> | |
48 | <IntDir>.\intermediate\$(Configuration)\$(ProjectName)\</IntDir> | |
49 | <LinkIncremental>false</LinkIncremental> | |
50 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> | |
51 | <CodeAnalysisRules /> | |
52 | <CodeAnalysisRuleAssemblies /> | |
53 | </PropertyGroup> | |
54 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | |
55 | <Midl> | |
56 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
57 | <MkTypLibCompatible>true</MkTypLibCompatible> | |
58 | <SuppressStartupBanner>true</SuppressStartupBanner> | |
59 | <TargetEnvironment>Win32</TargetEnvironment> | |
60 | <TypeLibraryName>.\DebugDLL/libfaad2_dll.tlb</TypeLibraryName> | |
61 | </Midl> | |
62 | <ClCompile> | |
63 | <Optimization>Disabled</Optimization> | |
64 | <AdditionalIncludeDirectories>../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |
65 | <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_WINDOWS;_USRDLL;HAVE_LRINTF;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
66 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | |
67 | <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | |
68 | <PrecompiledHeader /> | |
69 | <WarningLevel>Level3</WarningLevel> | |
70 | <SuppressStartupBanner>true</SuppressStartupBanner> | |
71 | <DebugInformationFormat>EditAndContinue</DebugInformationFormat> | |
72 | </ClCompile> | |
73 | <ResourceCompile> | |
74 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
75 | <Culture>0x0407</Culture> | |
76 | </ResourceCompile> | |
77 | <Link> | |
78 | <ModuleDefinitionFile>.\libfaad2.def</ModuleDefinitionFile> | |
79 | <GenerateDebugInformation>true</GenerateDebugInformation> | |
80 | </Link> | |
81 | </ItemDefinitionGroup> | |
82 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
83 | <Midl> | |
84 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
85 | <MkTypLibCompatible>true</MkTypLibCompatible> | |
86 | <SuppressStartupBanner>true</SuppressStartupBanner> | |
87 | <TargetEnvironment>Win32</TargetEnvironment> | |
88 | <TypeLibraryName>.\ReleaseDLL/libfaad2_dll.tlb</TypeLibraryName> | |
89 | </Midl> | |
90 | <ClCompile> | |
91 | <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | |
92 | <IntrinsicFunctions>true</IntrinsicFunctions> | |
93 | <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> | |
94 | <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_WINDOWS;_USRDLL;HAVE_LRINTF;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
95 | <StringPooling>true</StringPooling> | |
96 | <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | |
97 | <FunctionLevelLinking>true</FunctionLevelLinking> | |
98 | <PrecompiledHeader /> | |
99 | <WarningLevel>Level3</WarningLevel> | |
100 | <SuppressStartupBanner>true</SuppressStartupBanner> | |
101 | <AdditionalIncludeDirectories>../../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | |
102 | </ClCompile> | |
103 | <ResourceCompile> | |
104 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
105 | <Culture>0x0407</Culture> | |
106 | </ResourceCompile> | |
107 | <Link> | |
108 | <ModuleDefinitionFile>.\libfaad2.def</ModuleDefinitionFile> | |
109 | </Link> | |
110 | </ItemDefinitionGroup> | |
111 | <ItemGroup> | |
112 | <ClCompile Include="..\..\libfaad\bits.c" /> | |
113 | <ClCompile Include="..\..\libfaad\cfft.c" /> | |
114 | <ClCompile Include="..\..\libfaad\common.c" /> | |
115 | <ClCompile Include="..\..\libfaad\decoder.c" /> | |
116 | <ClCompile Include="..\..\libfaad\drc.c" /> | |
117 | <ClCompile Include="..\..\libfaad\drm_dec.c" /> | |
118 | <ClCompile Include="..\..\libfaad\error.c" /> | |
119 | <ClCompile Include="..\..\libfaad\filtbank.c" /> | |
120 | <ClCompile Include="..\..\libfaad\hcr.c" /> | |
121 | <ClCompile Include="..\..\libfaad\huffman.c" /> | |
122 | <ClCompile Include="..\..\libfaad\ic_predict.c" /> | |
123 | <ClCompile Include="..\..\libfaad\is.c" /> | |
124 | <ClCompile Include="..\..\libfaad\lt_predict.c" /> | |
125 | <ClCompile Include="..\..\libfaad\mdct.c" /> | |
126 | <ClCompile Include="..\..\libfaad\mp4.c" /> | |
127 | <ClCompile Include="..\..\libfaad\ms.c" /> | |
128 | <ClCompile Include="..\..\libfaad\output.c" /> | |
129 | <ClCompile Include="..\..\libfaad\pns.c" /> | |
130 | <ClCompile Include="..\..\libfaad\ps_dec.c" /> | |
131 | <ClCompile Include="..\..\libfaad\ps_syntax.c" /> | |
132 | <ClCompile Include="..\..\libfaad\pulse.c" /> | |
133 | <ClCompile Include="..\..\libfaad\rvlc.c" /> | |
134 | <ClCompile Include="..\..\libfaad\sbr_dct.c" /> | |
135 | <ClCompile Include="..\..\libfaad\sbr_dec.c" /> | |
136 | <ClCompile Include="..\..\libfaad\sbr_e_nf.c" /> | |
137 | <ClCompile Include="..\..\libfaad\sbr_fbt.c" /> | |
138 | <ClCompile Include="..\..\libfaad\sbr_hfadj.c" /> | |
139 | <ClCompile Include="..\..\libfaad\sbr_hfgen.c" /> | |
140 | <ClCompile Include="..\..\libfaad\sbr_huff.c" /> | |
141 | <ClCompile Include="..\..\libfaad\sbr_qmf.c" /> | |
142 | <ClCompile Include="..\..\libfaad\sbr_syntax.c" /> | |
143 | <ClCompile Include="..\..\libfaad\sbr_tf_grid.c" /> | |
144 | <ClCompile Include="..\..\libfaad\specrec.c" /> | |
145 | <ClCompile Include="..\..\libfaad\ssr.c" /> | |
146 | <ClCompile Include="..\..\libfaad\ssr_fb.c" /> | |
147 | <ClCompile Include="..\..\libfaad\ssr_ipqf.c" /> | |
148 | <ClCompile Include="..\..\libfaad\syntax.c" /> | |
149 | <ClCompile Include="..\..\libfaad\tns.c" /> | |
150 | </ItemGroup> | |
151 | <ItemGroup> | |
152 | <ClInclude Include="..\..\libfaad\analysis.h" /> | |
153 | <ClInclude Include="..\..\libfaad\bits.h" /> | |
154 | <ClInclude Include="..\..\libfaad\cfft.h" /> | |
155 | <ClInclude Include="..\..\libfaad\codebook\hcb.h" /> | |
156 | <ClInclude Include="..\..\libfaad\common.h" /> | |
157 | <ClInclude Include="..\..\libfaad\drc.h" /> | |
158 | <ClInclude Include="..\..\libfaad\error.h" /> | |
159 | <ClInclude Include="..\..\libfaad\filtbank.h" /> | |
160 | <ClInclude Include="..\..\libfaad\huffman.h" /> | |
161 | <ClInclude Include="..\..\libfaad\ic_predict.h" /> | |
162 | <ClInclude Include="..\..\libfaad\is.h" /> | |
163 | <ClInclude Include="..\..\libfaad\kbd_win.h" /> | |
164 | <ClInclude Include="..\..\libfaad\lt_predict.h" /> | |
165 | <ClInclude Include="..\..\libfaad\mdct.h" /> | |
166 | <ClInclude Include="..\..\libfaad\mp4.h" /> | |
167 | <ClInclude Include="..\..\libfaad\ms.h" /> | |
168 | <ClInclude Include="..\..\libfaad\output.h" /> | |
169 | <ClInclude Include="..\..\libfaad\pns.h" /> | |
170 | <ClInclude Include="..\..\libfaad\pulse.h" /> | |
171 | <ClInclude Include="..\..\libfaad\rvlc.h" /> | |
172 | <ClInclude Include="..\..\libfaad\specrec.h" /> | |
173 | <ClInclude Include="..\..\libfaad\ssr.h" /> | |
174 | <ClInclude Include="..\..\libfaad\syntax.h" /> | |
175 | <ClInclude Include="..\..\libfaad\Tns.h" /> | |
176 | </ItemGroup> | |
177 | <ItemGroup> | |
178 | <None Include="libfaad2.def" /> | |
179 | </ItemGroup> | |
180 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | |
181 | <ImportGroup Label="ExtensionTargets"> | |
182 | </ImportGroup> | |
183 | </Project>⏎ |
0 | <?xml version="1.0" encoding="utf-8"?> | |
1 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
2 | <ItemGroup> | |
3 | <Filter Include="Source Files"> | |
4 | <UniqueIdentifier>{49a4bc70-d8e3-49e8-89e3-a91112cd9fd2}</UniqueIdentifier> | |
5 | </Filter> | |
6 | <Filter Include="Header Files"> | |
7 | <UniqueIdentifier>{05b5a1d9-6070-414e-9fa5-21734fddfce8}</UniqueIdentifier> | |
8 | </Filter> | |
9 | </ItemGroup> | |
10 | <ItemGroup> | |
11 | <ClCompile Include="..\..\libfaad\bits.c"> | |
12 | <Filter>Source Files</Filter> | |
13 | </ClCompile> | |
14 | <ClCompile Include="..\..\libfaad\cfft.c"> | |
15 | <Filter>Source Files</Filter> | |
16 | </ClCompile> | |
17 | <ClCompile Include="..\..\libfaad\common.c"> | |
18 | <Filter>Source Files</Filter> | |
19 | </ClCompile> | |
20 | <ClCompile Include="..\..\libfaad\decoder.c"> | |
21 | <Filter>Source Files</Filter> | |
22 | </ClCompile> | |
23 | <ClCompile Include="..\..\libfaad\drc.c"> | |
24 | <Filter>Source Files</Filter> | |
25 | </ClCompile> | |
26 | <ClCompile Include="..\..\libfaad\drm_dec.c"> | |
27 | <Filter>Source Files</Filter> | |
28 | </ClCompile> | |
29 | <ClCompile Include="..\..\libfaad\error.c"> | |
30 | <Filter>Source Files</Filter> | |
31 | </ClCompile> | |
32 | <ClCompile Include="..\..\libfaad\filtbank.c"> | |
33 | <Filter>Source Files</Filter> | |
34 | </ClCompile> | |
35 | <ClCompile Include="..\..\libfaad\hcr.c"> | |
36 | <Filter>Source Files</Filter> | |
37 | </ClCompile> | |
38 | <ClCompile Include="..\..\libfaad\huffman.c"> | |
39 | <Filter>Source Files</Filter> | |
40 | </ClCompile> | |
41 | <ClCompile Include="..\..\libfaad\ic_predict.c"> | |
42 | <Filter>Source Files</Filter> | |
43 | </ClCompile> | |
44 | <ClCompile Include="..\..\libfaad\is.c"> | |
45 | <Filter>Source Files</Filter> | |
46 | </ClCompile> | |
47 | <ClCompile Include="..\..\libfaad\lt_predict.c"> | |
48 | <Filter>Source Files</Filter> | |
49 | </ClCompile> | |
50 | <ClCompile Include="..\..\libfaad\mdct.c"> | |
51 | <Filter>Source Files</Filter> | |
52 | </ClCompile> | |
53 | <ClCompile Include="..\..\libfaad\mp4.c"> | |
54 | <Filter>Source Files</Filter> | |
55 | </ClCompile> | |
56 | <ClCompile Include="..\..\libfaad\ms.c"> | |
57 | <Filter>Source Files</Filter> | |
58 | </ClCompile> | |
59 | <ClCompile Include="..\..\libfaad\output.c"> | |
60 | <Filter>Source Files</Filter> | |
61 | </ClCompile> | |
62 | <ClCompile Include="..\..\libfaad\pns.c"> | |
63 | <Filter>Source Files</Filter> | |
64 | </ClCompile> | |
65 | <ClCompile Include="..\..\libfaad\ps_dec.c"> | |
66 | <Filter>Source Files</Filter> | |
67 | </ClCompile> | |
68 | <ClCompile Include="..\..\libfaad\ps_syntax.c"> | |
69 | <Filter>Source Files</Filter> | |
70 | </ClCompile> | |
71 | <ClCompile Include="..\..\libfaad\pulse.c"> | |
72 | <Filter>Source Files</Filter> | |
73 | </ClCompile> | |
74 | <ClCompile Include="..\..\libfaad\rvlc.c"> | |
75 | <Filter>Source Files</Filter> | |
76 | </ClCompile> | |
77 | <ClCompile Include="..\..\libfaad\sbr_dct.c"> | |
78 | <Filter>Source Files</Filter> | |
79 | </ClCompile> | |
80 | <ClCompile Include="..\..\libfaad\sbr_dec.c"> | |
81 | <Filter>Source Files</Filter> | |
82 | </ClCompile> | |
83 | <ClCompile Include="..\..\libfaad\sbr_e_nf.c"> | |
84 | <Filter>Source Files</Filter> | |
85 | </ClCompile> | |
86 | <ClCompile Include="..\..\libfaad\sbr_fbt.c"> | |
87 | <Filter>Source Files</Filter> | |
88 | </ClCompile> | |
89 | <ClCompile Include="..\..\libfaad\sbr_hfadj.c"> | |
90 | <Filter>Source Files</Filter> | |
91 | </ClCompile> | |
92 | <ClCompile Include="..\..\libfaad\sbr_hfgen.c"> | |
93 | <Filter>Source Files</Filter> | |
94 | </ClCompile> | |
95 | <ClCompile Include="..\..\libfaad\sbr_huff.c"> | |
96 | <Filter>Source Files</Filter> | |
97 | </ClCompile> | |
98 | <ClCompile Include="..\..\libfaad\sbr_qmf.c"> | |
99 | <Filter>Source Files</Filter> | |
100 | </ClCompile> | |
101 | <ClCompile Include="..\..\libfaad\sbr_syntax.c"> | |
102 | <Filter>Source Files</Filter> | |
103 | </ClCompile> | |
104 | <ClCompile Include="..\..\libfaad\sbr_tf_grid.c"> | |
105 | <Filter>Source Files</Filter> | |
106 | </ClCompile> | |
107 | <ClCompile Include="..\..\libfaad\specrec.c"> | |
108 | <Filter>Source Files</Filter> | |
109 | </ClCompile> | |
110 | <ClCompile Include="..\..\libfaad\ssr.c"> | |
111 | <Filter>Source Files</Filter> | |
112 | </ClCompile> | |
113 | <ClCompile Include="..\..\libfaad\ssr_fb.c"> | |
114 | <Filter>Source Files</Filter> | |
115 | </ClCompile> | |
116 | <ClCompile Include="..\..\libfaad\ssr_ipqf.c"> | |
117 | <Filter>Source Files</Filter> | |
118 | </ClCompile> | |
119 | <ClCompile Include="..\..\libfaad\syntax.c"> | |
120 | <Filter>Source Files</Filter> | |
121 | </ClCompile> | |
122 | <ClCompile Include="..\..\libfaad\tns.c"> | |
123 | <Filter>Source Files</Filter> | |
124 | </ClCompile> | |
125 | </ItemGroup> | |
126 | <ItemGroup> | |
127 | <ClInclude Include="..\..\libfaad\analysis.h"> | |
128 | <Filter>Header Files</Filter> | |
129 | </ClInclude> | |
130 | <ClInclude Include="..\..\libfaad\bits.h"> | |
131 | <Filter>Header Files</Filter> | |
132 | </ClInclude> | |
133 | <ClInclude Include="..\..\libfaad\cfft.h"> | |
134 | <Filter>Header Files</Filter> | |
135 | </ClInclude> | |
136 | <ClInclude Include="..\..\libfaad\common.h"> | |
137 | <Filter>Header Files</Filter> | |
138 | </ClInclude> | |
139 | <ClInclude Include="..\..\libfaad\drc.h"> | |
140 | <Filter>Header Files</Filter> | |
141 | </ClInclude> | |
142 | <ClInclude Include="..\..\libfaad\error.h"> | |
143 | <Filter>Header Files</Filter> | |
144 | </ClInclude> | |
145 | <ClInclude Include="..\..\libfaad\filtbank.h"> | |
146 | <Filter>Header Files</Filter> | |
147 | </ClInclude> | |
148 | <ClInclude Include="..\..\libfaad\codebook\hcb.h"> | |
149 | <Filter>Header Files</Filter> | |
150 | </ClInclude> | |
151 | <ClInclude Include="..\..\libfaad\huffman.h"> | |
152 | <Filter>Header Files</Filter> | |
153 | </ClInclude> | |
154 | <ClInclude Include="..\..\libfaad\ic_predict.h"> | |
155 | <Filter>Header Files</Filter> | |
156 | </ClInclude> | |
157 | <ClInclude Include="..\..\libfaad\is.h"> | |
158 | <Filter>Header Files</Filter> | |
159 | </ClInclude> | |
160 | <ClInclude Include="..\..\libfaad\kbd_win.h"> | |
161 | <Filter>Header Files</Filter> | |
162 | </ClInclude> | |
163 | <ClInclude Include="..\..\libfaad\lt_predict.h"> | |
164 | <Filter>Header Files</Filter> | |
165 | </ClInclude> | |
166 | <ClInclude Include="..\..\libfaad\mdct.h"> | |
167 | <Filter>Header Files</Filter> | |
168 | </ClInclude> | |
169 | <ClInclude Include="..\..\libfaad\mp4.h"> | |
170 | <Filter>Header Files</Filter> | |
171 | </ClInclude> | |
172 | <ClInclude Include="..\..\libfaad\ms.h"> | |
173 | <Filter>Header Files</Filter> | |
174 | </ClInclude> | |
175 | <ClInclude Include="..\..\libfaad\output.h"> | |
176 | <Filter>Header Files</Filter> | |
177 | </ClInclude> | |
178 | <ClInclude Include="..\..\libfaad\pns.h"> | |
179 | <Filter>Header Files</Filter> | |
180 | </ClInclude> | |
181 | <ClInclude Include="..\..\libfaad\pulse.h"> | |
182 | <Filter>Header Files</Filter> | |
183 | </ClInclude> | |
184 | <ClInclude Include="..\..\libfaad\rvlc.h"> | |
185 | <Filter>Header Files</Filter> | |
186 | </ClInclude> | |
187 | <ClInclude Include="..\..\libfaad\specrec.h"> | |
188 | <Filter>Header Files</Filter> | |
189 | </ClInclude> | |
190 | <ClInclude Include="..\..\libfaad\ssr.h"> | |
191 | <Filter>Header Files</Filter> | |
192 | </ClInclude> | |
193 | <ClInclude Include="..\..\libfaad\syntax.h"> | |
194 | <Filter>Header Files</Filter> | |
195 | </ClInclude> | |
196 | <ClInclude Include="..\..\libfaad\Tns.h"> | |
197 | <Filter>Header Files</Filter> | |
198 | </ClInclude> | |
199 | </ItemGroup> | |
200 | <ItemGroup> | |
201 | <None Include="libfaad2.def" /> | |
202 | </ItemGroup> | |
203 | </Project>⏎ |
0 | /* | |
1 | ** AC2VER - extract version number from AC_INIT macro (configure.ac) | |
2 | ** Copyright (C) 2017 LoRd_MuldeR <mulder2@GMX.de> | |
3 | ** | |
4 | ** This software is released under the CC0 1.0 Universal [CC0 1.0] licence! | |
5 | ** https://creativecommons.org/publicdomain/zero/1.0/legalcode | |
6 | **/ | |
7 | ||
8 | #define BUFF_SIZE 4096 | |
9 | #define _CRT_SECURE_NO_WARNINGS 1 | |
10 | ||
11 | #include <stdlib.h> | |
12 | #include <stdio.h> | |
13 | #include <string.h> | |
14 | #include <ctype.h> | |
15 | ||
16 | static int clean_string(char *const str) | |
17 | { | |
18 | size_t i = 0, j = 0; | |
19 | while(str[i]) | |
20 | { | |
21 | if(isalnum(str[i]) || strchr("._-", str[i])) | |
22 | { | |
23 | if(i != j) | |
24 | { | |
25 | str[j] = str[i]; | |
26 | } | |
27 | ++j; | |
28 | } | |
29 | ++i; | |
30 | } | |
31 | str[j] = '\0'; | |
32 | return !!j; | |
33 | } | |
34 | ||
35 | static int parse_version(FILE *const input, const char *const format, char *const version) | |
36 | { | |
37 | char buffer[BUFF_SIZE]; | |
38 | ||
39 | while(!(feof(input) || ferror(input))) | |
40 | { | |
41 | const char *line = fgets(buffer, BUFF_SIZE, input); | |
42 | if(line) | |
43 | { | |
44 | while((*line) && (isspace(*line))) | |
45 | { | |
46 | ++line; /*skip space*/ | |
47 | } | |
48 | if(sscanf(line, format, version) == 1) | |
49 | { | |
50 | if(clean_string(version)) | |
51 | { | |
52 | return 1; /*found!*/ | |
53 | } | |
54 | } | |
55 | } | |
56 | } | |
57 | ||
58 | version[0] = '\0'; | |
59 | return 0; | |
60 | } | |
61 | ||
62 | static int get_version(const wchar_t *const lib_name, const wchar_t *const file_name) | |
63 | { | |
64 | char format[128], version[BUFF_SIZE]; | |
65 | ||
66 | FILE *const input = _wfopen(file_name, L"r"); | |
67 | if(!input) | |
68 | { | |
69 | fprintf(stderr, "Error: Failed to open input file!\n%S\n\n", file_name); | |
70 | return 0; | |
71 | } | |
72 | ||
73 | _snprintf(format, 128, "AC_INIT ( %S , %%s", lib_name); | |
74 | //printf("<%s>\n", format); | |
75 | ||
76 | if(parse_version(input, format, version)) | |
77 | { | |
78 | printf("#define PACKAGE_VERSION \"%s\"\n", version); | |
79 | fclose(input); | |
80 | return 1; | |
81 | } | |
82 | else | |
83 | { | |
84 | fprintf(stderr, "Error: Version string could not be found!\n\n"); | |
85 | fclose(input); | |
86 | return 0; | |
87 | } | |
88 | } | |
89 | ||
90 | int wmain(int argc, wchar_t* argv[]) | |
91 | { | |
92 | if((argc != 3) || (!argv[1][0]) || (!argv[2][0])) | |
93 | { | |
94 | wchar_t file_name[_MAX_FNAME], file_ext[_MAX_EXT]; | |
95 | _wsplitpath(argv[0], NULL, NULL, file_name, file_ext); | |
96 | fprintf(stderr, "AC2VER [%s]\n\n", __DATE__); | |
97 | fprintf(stderr, "Usage: %S%S <lib_name> <path/to/configure.ac>\n\n", file_name, file_ext); | |
98 | return EXIT_FAILURE; | |
99 | } | |
100 | ||
101 | return get_version(argv[1], argv[2]) ? EXIT_SUCCESS : EXIT_FAILURE; | |
102 | } |
Binary diff not shown