diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-11-23 21:32:55 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-11-23 21:55:52 +0100 |
commit | 8f8bc92365a943e96cc08b5369408c20f35193c7 (patch) | |
tree | effd31c47a524ac732f657d037b9f0d6c25901b2 | |
parent | 0eeeb9647e9c92c9edfd0b18c7cb5da7ac666f85 (diff) | |
download | ffmpeg-8f8bc92365a943e96cc08b5369408c20f35193c7.tar.gz |
Add missing #includes for *INT64_MAX and *INT64_C
37 files changed, 64 insertions, 1 deletions
@@ -27,6 +27,8 @@ #include <errno.h> #include <signal.h> #include <limits.h> +#include <stdint.h> + #include "libavformat/avformat.h" #include "libavdevice/avdevice.h" #include "libswscale/swscale.h" diff --git a/avconv_filter.c b/avconv_filter.c index ffccd93eee..892db00f47 100644 --- a/avconv_filter.c +++ b/avconv_filter.c @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + #include "avconv.h" #include "libavfilter/avfilter.h" @@ -23,6 +23,8 @@ #include <inttypes.h> #include <math.h> #include <limits.h> +#include <stdint.h> + #include "libavutil/avstring.h" #include "libavutil/colorspace.h" #include "libavutil/mathematics.h" diff --git a/cmdutils.c b/cmdutils.c index d6eb981205..3f1c667075 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -20,6 +20,7 @@ */ #include <string.h> +#include <stdint.h> #include <stdlib.h> #include <errno.h> #include <math.h> diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c index 6a05938281..426a652a4c 100644 --- a/libavcodec/aacdec.c +++ b/libavcodec/aacdec.c @@ -103,6 +103,7 @@ #include <assert.h> #include <errno.h> #include <math.h> +#include <stdint.h> #include <string.h> #if ARCH_ARM diff --git a/libavcodec/huffman.c b/libavcodec/huffman.c index aef4929b1c..dec2197fc9 100644 --- a/libavcodec/huffman.c +++ b/libavcodec/huffman.c @@ -24,6 +24,8 @@ * huffman tree builder and VLC generator */ +#include <stdint.h> + #include "avcodec.h" #include "get_bits.h" #include "huffman.h" diff --git a/libavcodec/iff.c b/libavcodec/iff.c index 7ac78b0e5c..112c2ca93c 100644 --- a/libavcodec/iff.c +++ b/libavcodec/iff.c @@ -25,6 +25,8 @@ * IFF PBM/ILBM bitmap decoder */ +#include <stdint.h> + #include "libavutil/imgutils.h" #include "bytestream.h" #include "avcodec.h" diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c index 41eefe2211..2e03ce3ccc 100644 --- a/libavcodec/mpeg12enc.c +++ b/libavcodec/mpeg12enc.c @@ -25,6 +25,8 @@ * MPEG1/2 encoder */ +#include <stdint.h> + #include "libavutil/attributes.h" #include "libavutil/log.h" #include "libavutil/opt.h" diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 74a3468e48..414be908e5 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -27,6 +27,8 @@ * The simplest mpeg encoder (well, it was the simplest!). */ +#include <stdint.h> + #include "libavutil/internal.h" #include "libavutil/intmath.h" #include "libavutil/mathematics.h" diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h index 3dc2780664..8b3a4b64d7 100644 --- a/libavcodec/options_table.h +++ b/libavcodec/options_table.h @@ -22,6 +22,7 @@ #include <float.h> #include <limits.h> +#include <stdint.h> #include "libavutil/opt.h" #include "avcodec.h" diff --git a/libavcodec/parser.c b/libavcodec/parser.c index 6e755f6b75..511f1f3ed1 100644 --- a/libavcodec/parser.c +++ b/libavcodec/parser.c @@ -20,6 +20,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> #include <string.h> #include "parser.h" diff --git a/libavfilter/af_asyncts.c b/libavfilter/af_asyncts.c index b76ddf0f21..e662c842ac 100644 --- a/libavfilter/af_asyncts.c +++ b/libavfilter/af_asyncts.c @@ -16,6 +16,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + #include "libavresample/avresample.h" #include "libavutil/attributes.h" #include "libavutil/audio_fifo.h" diff --git a/libavfilter/trim.c b/libavfilter/trim.c index 36a56537f3..2b57540460 100644 --- a/libavfilter/trim.c +++ b/libavfilter/trim.c @@ -18,6 +18,7 @@ #include <float.h> #include <math.h> +#include <stdint.h> #include "config.h" diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c index 0c7023f12c..5f62ffd078 100644 --- a/libavfilter/vf_fps.c +++ b/libavfilter/vf_fps.c @@ -22,6 +22,7 @@ */ #include <float.h> +#include <stdint.h> #include "libavutil/common.h" #include "libavutil/fifo.h" diff --git a/libavfilter/vsrc_movie.c b/libavfilter/vsrc_movie.c index 3e9f41d7e1..502f3607a1 100644 --- a/libavfilter/vsrc_movie.c +++ b/libavfilter/vsrc_movie.c @@ -29,6 +29,7 @@ */ #include <float.h> +#include <stdint.h> #include "libavutil/attributes.h" #include "libavutil/avstring.h" diff --git a/libavformat/aiffenc.c b/libavformat/aiffenc.c index abcc424596..d4bffb394e 100644 --- a/libavformat/aiffenc.c +++ b/libavformat/aiffenc.c @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + #include "libavutil/intfloat.h" #include "avformat.h" #include "internal.h" diff --git a/libavformat/assdec.c b/libavformat/assdec.c index 0041ca4cc3..b994cc148a 100644 --- a/libavformat/assdec.c +++ b/libavformat/assdec.c @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + #include "libavutil/mathematics.h" #include "avformat.h" #include "internal.h" diff --git a/libavformat/avidec.c b/libavformat/avidec.c index c71d545d46..6f80d2119a 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + #include "libavutil/avstring.h" #include "libavutil/bswap.h" #include "libavutil/dict.h" diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c index e6730eb2f5..acc1dc4110 100644 --- a/libavformat/ffmdec.c +++ b/libavformat/ffmdec.c @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + #include "libavutil/intreadwrite.h" #include "libavutil/intfloat.h" #include "avformat.h" diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 3dd4273eda..f9e96780c2 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -20,6 +20,7 @@ */ #include <float.h> +#include <stdint.h> #include "libavutil/mathematics.h" #include "libavutil/parseutils.h" diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index f3a35f8986..cc645a5a70 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + #include "avc.h" #include "avformat.h" #include "avlanguage.h" diff --git a/libavformat/mov.c b/libavformat/mov.c index 99ba23fafd..9b019e183b 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -24,6 +24,7 @@ */ #include <limits.h> +#include <stdint.h> //#define MOV_EXPORT_ALL_METADATA diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 8f7153ace7..43a164730c 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -21,6 +21,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + #include "movenc.h" #include "avformat.h" #include "avio_internal.h" diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c index 85a12d69d8..13d5b0375c 100644 --- a/libavformat/mpegenc.c +++ b/libavformat/mpegenc.c @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + #include "libavutil/attributes.h" #include "libavutil/fifo.h" #include "libavutil/log.h" diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index a947c6794d..91aded6163 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -43,6 +43,8 @@ * Only tracks with associated descriptors will be decoded. "Highly Desirable" SMPTE 377M D.1 */ +#include <stdint.h> + #include "libavutil/aes.h" #include "libavutil/mathematics.h" #include "libavcodec/bytestream.h" diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c index acce86c584..2d3862d9e2 100644 --- a/libavformat/nutenc.c +++ b/libavformat/nutenc.c @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + #include "libavutil/intreadwrite.h" #include "libavutil/mathematics.h" #include "libavutil/tree.h" diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c index e01c365125..e96cde7dea 100644 --- a/libavformat/oggenc.c +++ b/libavformat/oggenc.c @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + #include "libavutil/crc.h" #include "libavutil/mathematics.h" #include "libavutil/opt.h" diff --git a/libavformat/rl2.c b/libavformat/rl2.c index ab33aabccc..5d30bf8bd6 100644 --- a/libavformat/rl2.c +++ b/libavformat/rl2.c @@ -32,6 +32,8 @@ * optional background_frame */ +#include <stdint.h> + #include "libavutil/intreadwrite.h" #include "libavutil/mathematics.h" #include "avformat.h" diff --git a/libavformat/rpl.c b/libavformat/rpl.c index 42b47f8457..0b22d8aa20 100644 --- a/libavformat/rpl.c +++ b/libavformat/rpl.c @@ -19,11 +19,13 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> +#include <stdlib.h> + #include "libavutil/avstring.h" #include "libavutil/dict.h" #include "avformat.h" #include "internal.h" -#include <stdlib.h> #define RPL_SIGNATURE "ARMovie\x0A" #define RPL_SIGNATURE_SIZE 8 diff --git a/libavformat/seek.c b/libavformat/seek.c index e17cdccfd6..9be8db9784 100644 --- a/libavformat/seek.c +++ b/libavformat/seek.c @@ -20,6 +20,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + #include "seek.h" #include "libavutil/mathematics.h" #include "libavutil/mem.h" diff --git a/libavformat/utils.c b/libavformat/utils.c index 377fdd99a0..ea1d927b52 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + #include "avformat.h" #include "avio_internal.h" #include "internal.h" diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c index a3471fdf96..f65a66a006 100644 --- a/libavformat/wavdec.c +++ b/libavformat/wavdec.c @@ -23,6 +23,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + #include "libavutil/avassert.h" #include "libavutil/dict.h" #include "libavutil/log.h" diff --git a/libavformat/xwma.c b/libavformat/xwma.c index f4ff8157f8..45d74de0dd 100644 --- a/libavformat/xwma.c +++ b/libavformat/xwma.c @@ -20,6 +20,7 @@ */ #include <inttypes.h> +#include <stdint.h> #include "avformat.h" #include "internal.h" diff --git a/libavresample/options.c b/libavresample/options.c index 7859ec6675..6249f90115 100644 --- a/libavresample/options.c +++ b/libavresample/options.c @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + #include "libavutil/mathematics.h" #include "libavutil/mem.h" #include "libavutil/opt.h" diff --git a/libavutil/channel_layout.c b/libavutil/channel_layout.c index 79e398e41a..253c495f4f 100644 --- a/libavutil/channel_layout.c +++ b/libavutil/channel_layout.c @@ -23,6 +23,8 @@ * audio channel layout utility functions */ +#include <stdint.h> + #include "avstring.h" #include "avutil.h" #include "channel_layout.h" diff --git a/libavutil/common.h b/libavutil/common.h index caa6b1963b..eb40e12990 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -30,6 +30,7 @@ #include <inttypes.h> #include <limits.h> #include <math.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/libavutil/cpu.c b/libavutil/cpu.c index c96dfa9e6b..25af4c5580 100644 --- a/libavutil/cpu.c +++ b/libavutil/cpu.c @@ -16,6 +16,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + #include "cpu.h" #include "cpu_internal.h" #include "config.h" |