-
diff -u -r main-bak/configure main/configure
|
old
|
new
|
|
| 2714 | 2714 | typedef signed char int_fast8_t; |
| 2715 | 2715 | typedef signed int int_fast16_t; |
| 2716 | 2716 | typedef signed int int_fast32_t; |
| | 2717 | typedef signed long long int int_fast64_t; |
| 2717 | 2718 | typedef unsigned char uint_fast8_t; |
| 2718 | 2719 | typedef unsigned int uint_fast16_t; |
| 2719 | | typedef unsigned int uint_fast32_t;' |
| | 2720 | typedef unsigned int uint_fast32_t; |
| | 2721 | typedef unsigned long long int uint_fast64_t;' |
| 2720 | 2722 | fi |
| 2721 | 2723 | echores "$_fast_inttypes" |
| 2722 | 2724 | |
| … |
… |
|
| 6763 | 6765 | cat > $TMPC << EOF |
| 6764 | 6766 | #include <sys/types.h> |
| 6765 | 6767 | #include <sys/socket.h> |
| 6766 | | int main(void) { socket(AF_INET6, SOCK_STREAM, AF_INET6); } |
| | 6768 | #include <netinet/in.h> |
| | 6769 | int main(void) { struct sockaddr_in6 six; socket(AF_INET6, SOCK_STREAM, AF_INET6); } |
| 6767 | 6770 | EOF |
| 6768 | 6771 | _inet6=no |
| 6769 | 6772 | if cc_check ; then |
-
diff -u -r main-bak/libaf/af_resample.c main/libaf/af_resample.c
|
old
|
new
|
|
| 17 | 17 | #include "af.h" |
| 18 | 18 | #include "dsp.h" |
| 19 | 19 | |
| | 20 | // for PRI?64 |
| | 21 | #include "../libavutil/common.h" |
| | 22 | |
| 20 | 23 | /* Below definition selects the length of each poly phase component. |
| 21 | 24 | Valid definitions are L8 and L16, where the number denotes the |
| 22 | 25 | length of the filter. This definition affects the computational |
-
diff -u -r main-bak/libavformat/movenc.c main/libavformat/movenc.c
|
old
|
new
|
|
| 24 | 24 | #undef NDEBUG |
| 25 | 25 | #include <assert.h> |
| 26 | 26 | |
| | 27 | #if !defined(UINT32_MAX) |
| | 28 | #define UINT32_MAX 0xffffffffU |
| | 29 | #endif |
| | 30 | |
| 27 | 31 | #define MOV_INDEX_CLUSTER_SIZE 16384 |
| 28 | 32 | #define globalTimescale 1000 |
| 29 | 33 | |
-
diff -u -r main-bak/libavutil/common.h main/libavutil/common.h
|
old
|
new
|
|
| 120 | 120 | #define PRIx64 "llx" |
| 121 | 121 | #endif |
| 122 | 122 | |
| | 123 | #ifndef PRIX64 |
| | 124 | #define PRIX64 "llX" |
| | 125 | #endif |
| | 126 | |
| 123 | 127 | #ifndef PRId32 |
| 124 | 128 | #define PRId32 "d" |
| 125 | 129 | #endif |
-
diff -u -r main-bak/libmpdemux/aviheader.c main/libmpdemux/aviheader.c
|
old
|
new
|
|
| 15 | 15 | #include "bswap.h" |
| 16 | 16 | #include "aviheader.h" |
| 17 | 17 | |
| | 18 | // for PRI?64 |
| | 19 | #include "../libavutil/common.h" |
| | 20 | |
| 18 | 21 | #define MIN(a,b) (((a)<(b))?(a):(b)) |
| 19 | 22 | |
| 20 | 23 | |
-
diff -u -r main-bak/libmpdemux/aviprint.c main/libmpdemux/aviprint.c
|
old
|
new
|
|
| 15 | 15 | //#include "codec-cfg.h" |
| 16 | 16 | //#include "stheader.h" |
| 17 | 17 | |
| | 18 | // for PRI?64 |
| | 19 | #include "../libavutil/common.h" |
| | 20 | |
| 18 | 21 | void print_avih_flags(MainAVIHeader *h){ |
| 19 | 22 | printf("MainAVIHeader.dwFlags: (%ld)%s%s%s%s%s%s\n",h->dwFlags, |
| 20 | 23 | (h->dwFlags&AVIF_HASINDEX)?" HAS_INDEX":"", |
-
diff -u -r main-bak/libmpdemux/cache2.c main/libmpdemux/cache2.c
|
old
|
new
|
|
| 31 | 31 | |
| 32 | 32 | #include "stream.h" |
| 33 | 33 | |
| | 34 | // for PRI?64 |
| | 35 | #include "../libavutil/common.h" |
| | 36 | |
| 34 | 37 | int stream_fill_buffer(stream_t *s); |
| 35 | 38 | int stream_seek_long(stream_t *s,off_t pos); |
| 36 | 39 | |
-
diff -u -r main-bak/libmpdemux/demux_aac.c main/libmpdemux/demux_aac.c
|
old
|
new
|
|
| 14 | 14 | #include "bswap.h" |
| 15 | 15 | #include "ms_hdr.h" |
| 16 | 16 | |
| | 17 | // for PRI?64 |
| | 18 | #include "../libavutil/common.h" |
| | 19 | |
| 17 | 20 | typedef struct { |
| 18 | 21 | uint8_t *buf; |
| 19 | 22 | uint64_t size; /// amount of time of data packets pushed to demuxer->audio (in bytes) |
-
diff -u -r main-bak/libmpdemux/demux_avi.c main/libmpdemux/demux_avi.c
|
old
|
new
|
|
| 14 | 14 | |
| 15 | 15 | #include "aviheader.h" |
| 16 | 16 | |
| | 17 | // for PRI?64 |
| | 18 | #include "../libavutil/common.h" |
| | 19 | |
| 17 | 20 | extern demuxer_t* init_avi_with_ogg(demuxer_t* demuxer); |
| 18 | 21 | extern int demux_ogg_open(demuxer_t* demuxer); |
| 19 | 22 | |
-
diff -u -r main-bak/libmpdemux/demux_lmlm4.c main/libmpdemux/demux_lmlm4.c
|
old
|
new
|
|
| 18 | 18 | #include "stheader.h" |
| 19 | 19 | #include "bswap.h" |
| 20 | 20 | |
| | 21 | // for PRI?64 |
| | 22 | #include "../libavutil/common.h" |
| | 23 | |
| 21 | 24 | typedef struct __FrameInfo |
| 22 | 25 | { |
| 23 | 26 | ssize_t frameSize; |
-
diff -u -r main-bak/libmpdemux/demux_mkv.c main/libmpdemux/demux_mkv.c
|
old
|
new
|
|
| 37 | 37 | #include "libmpcodecs/native/minilzo.h" |
| 38 | 38 | #endif |
| 39 | 39 | |
| | 40 | // for PRI?64 |
| | 41 | #include "../libavutil/common.h" |
| | 42 | |
| 40 | 43 | #if !defined(MIN) |
| 41 | 44 | #define MIN(a, b) ((a)<(b)?(a):(b)) |
| 42 | 45 | #endif |
-
diff -u -r main-bak/libmpdemux/demux_mov.c main/libmpdemux/demux_mov.c
|
old
|
new
|
|
| 35 | 35 | #include "qtpalette.h" |
| 36 | 36 | #include "parse_mp4.h" // .MP4 specific stuff |
| 37 | 37 | |
| | 38 | // for PRI?64 |
| | 39 | #include "../libavutil/common.h" |
| | 40 | |
| 38 | 41 | #ifdef MACOSX |
| 39 | 42 | #include <QuickTime/QuickTime.h> |
| 40 | 43 | #include <QuickTime/ImageCompression.h> |
-
diff -u -r main-bak/libmpdemux/demux_mpg.c main/libmpdemux/demux_mpg.c
|
old
|
new
|
|
| 14 | 14 | #include "stheader.h" |
| 15 | 15 | #include "mp3_hdr.h" |
| 16 | 16 | |
| | 17 | // for PRI?64 |
| | 18 | #include "../libavutil/common.h" |
| | 19 | |
| 17 | 20 | //#define MAX_PS_PACKETSIZE 2048 |
| 18 | 21 | #define MAX_PS_PACKETSIZE (224*1024) |
| 19 | 22 | |
-
diff -u -r main-bak/libmpdemux/demux_ogg.c main/libmpdemux/demux_ogg.c
|
old
|
new
|
|
| 15 | 15 | #include "demuxer.h" |
| 16 | 16 | #include "stheader.h" |
| 17 | 17 | |
| | 18 | // for PRI?64 |
| | 19 | #include "../libavutil/common.h" |
| | 20 | |
| 18 | 21 | #define FOURCC_VORBIS mmioFOURCC('v', 'r', 'b', 's') |
| 19 | 22 | #define FOURCC_SPEEX mmioFOURCC('s', 'p', 'x', ' ') |
| 20 | 23 | #define FOURCC_THEORA mmioFOURCC('t', 'h', 'e', 'o') |
-
diff -u -r main-bak/libmpdemux/demux_pva.c main/libmpdemux/demux_pva.c
|
old
|
new
|
|
| 32 | 32 | |
| 33 | 33 | #include "bswap.h" |
| 34 | 34 | |
| | 35 | // for PRI?64 |
| | 36 | #include "../libavutil/common.h" |
| | 37 | |
| 35 | 38 | /* |
| 36 | 39 | * #defines below taken from PVA spec (see URL above) |
| 37 | 40 | */ |
-
diff -u -r main-bak/libmpdemux/demux_ts.c main/libmpdemux/demux_ts.c
|
old
|
new
|
|
| 39 | 39 | #include "ms_hdr.h" |
| 40 | 40 | #include "mpeg_hdr.h" |
| 41 | 41 | |
| | 42 | // for PRI?64 |
| | 43 | #include "../libavutil/common.h" |
| | 44 | |
| 42 | 45 | #define TS_PH_PACKET_SIZE 192 |
| 43 | 46 | #define TS_FEC_PACKET_SIZE 204 |
| 44 | 47 | #define TS_PACKET_SIZE 188 |
-
diff -u -r main-bak/libmpdemux/demux_ty.c main/libmpdemux/demux_ty.c
|
old
|
new
|
|
| 45 | 45 | #include "stheader.h" |
| 46 | 46 | #include "sub_cc.h" |
| 47 | 47 | |
| | 48 | // for PRI?64 |
| | 49 | #include "../libavutil/common.h" |
| | 50 | |
| 48 | 51 | extern void skip_audio_frame( sh_audio_t *sh_audio ); |
| 49 | 52 | extern int sub_justify; |
| 50 | 53 | |
-
diff -u -r main-bak/libmpdemux/demux_vqf.c main/libmpdemux/demux_vqf.c
|
old
|
new
|
|
| 9 | 9 | #include "stheader.h" |
| 10 | 10 | #include "libmpcodecs/vqf.h" |
| 11 | 11 | |
| | 12 | // for PRI?64 |
| | 13 | #include "../libavutil/common.h" |
| | 14 | |
| 12 | 15 | static int demux_probe_vqf(demuxer_t* demuxer) |
| 13 | 16 | { |
| 14 | 17 | char buf[KEYWORD_BYTES]; |
-
diff -u -r main-bak/libmpdemux/muxer_mpeg.c main/libmpdemux/muxer_mpeg.c
|
old
|
new
|
|
| 23 | 23 | #include "mp3_hdr.h" |
| 24 | 24 | #include "liba52/a52.h" |
| 25 | 25 | |
| | 26 | // for PRI?64 |
| | 27 | #include "../libavutil/common.h" |
| | 28 | |
| 26 | 29 | #define PACK_HEADER_START_CODE 0x01ba |
| 27 | 30 | #define SYSTEM_HEADER_START_CODE 0x01bb |
| 28 | 31 | #define PSM_START_CODE 0x01bc |
-
diff -u -r main-bak/libmpdemux/network.c main/libmpdemux/network.c
|
old
|
new
|
|
| 37 | 37 | |
| 38 | 38 | #include "version.h" |
| 39 | 39 | |
| | 40 | // for PRI?64 |
| | 41 | #include "../libavutil/common.h" |
| | 42 | |
| 40 | 43 | extern int verbose; |
| 41 | 44 | extern int stream_cache_size; |
| 42 | 45 | |
-
diff -u -r main-bak/libmpdemux/stream.c main/libmpdemux/stream.c
|
old
|
new
|
|
| 31 | 31 | #include "m_option.h" |
| 32 | 32 | #include "m_struct.h" |
| 33 | 33 | |
| | 34 | // for PRI?64 |
| | 35 | #include "../libavutil/common.h" |
| | 36 | |
| 34 | 37 | |
| 35 | 38 | extern int verbose; // defined in mplayer.c |
| 36 | 39 | void cache_uninit(stream_t *s); // defined in cache2.c |
-
diff -u -r main-bak/libmpdemux/stream_file.c main/libmpdemux/stream_file.c
|
old
|
new
|
|
| 13 | 13 | #include "m_option.h" |
| 14 | 14 | #include "m_struct.h" |
| 15 | 15 | |
| | 16 | // for PRI?64 |
| | 17 | #include "../libavutil/common.h" |
| | 18 | |
| 16 | 19 | static struct stream_priv_s { |
| 17 | 20 | char* filename; |
| 18 | 21 | char *filename2; |
-
diff -u -r main-bak/libmpdemux/stream_ftp.c main/libmpdemux/stream_ftp.c
|
old
|
new
|
|
| 24 | 24 | #include "m_option.h" |
| 25 | 25 | #include "m_struct.h" |
| 26 | 26 | |
| | 27 | // for PRI?64 |
| | 28 | #include "../libavutil/common.h" |
| | 29 | |
| 27 | 30 | static struct stream_priv_s { |
| 28 | 31 | char* user; |
| 29 | 32 | char* pass; |
-
diff -u -r main-bak/libvo/vo_jpeg.c main/libvo/vo_jpeg.c
|
old
|
new
|
|
| 200 | 200 | jpeg_set_defaults(&cinfo); |
| 201 | 201 | /* Important: Header info must be set AFTER jpeg_set_defaults() */ |
| 202 | 202 | cinfo.write_JFIF_header = TRUE; |
| | 203 | /* |
| 203 | 204 | cinfo.JFIF_major_version = 1; |
| 204 | 205 | cinfo.JFIF_minor_version = 2; |
| | 206 | */ |
| 205 | 207 | cinfo.density_unit = 1; /* 0=unknown, 1=dpi, 2=dpcm */ |
| 206 | 208 | /* Image DPI is determined by Y_density, so we leave that at |
| 207 | 209 | jpeg_dpi if possible and crunch X_density instead (PAR > 1) */ |
-
diff -u -r main-bak/m_option.c main/m_option.c
|
old
|
new
|
|
| 12 | 12 | //#include "m_config.h" |
| 13 | 13 | #include "mp_msg.h" |
| 14 | 14 | #include "libmpdemux/url.h" |
| | 15 | // for PRId64 |
| | 16 | #include "libavutil/common.h" |
| 15 | 17 | |
| 16 | 18 | // Don't free for 'production' atm |
| 17 | 19 | #ifndef MP_DEBUG |