From 8f8bc92365a943e96cc08b5369408c20f35193c7 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 23 Nov 2013 21:32:55 +0100 Subject: [PATCH] Add missing #includes for *INT64_MAX and *INT64_C --- avconv.c | 2 ++ avconv_filter.c | 2 ++ avplay.c | 2 ++ cmdutils.c | 1 + libavcodec/aacdec.c | 1 + libavcodec/huffman.c | 2 ++ libavcodec/iff.c | 2 ++ libavcodec/mpeg12enc.c | 2 ++ libavcodec/mpegvideo_enc.c | 2 ++ libavcodec/options_table.h | 1 + libavcodec/parser.c | 1 + libavfilter/af_asyncts.c | 2 ++ libavfilter/trim.c | 1 + libavfilter/vf_fps.c | 1 + libavfilter/vsrc_movie.c | 1 + libavformat/aiffenc.c | 2 ++ libavformat/assdec.c | 2 ++ libavformat/avidec.c | 2 ++ libavformat/ffmdec.c | 2 ++ libavformat/hlsenc.c | 1 + libavformat/matroskaenc.c | 2 ++ libavformat/mov.c | 1 + libavformat/movenc.c | 2 ++ libavformat/mpegenc.c | 2 ++ libavformat/mxfdec.c | 2 ++ libavformat/nutenc.c | 2 ++ libavformat/oggenc.c | 2 ++ libavformat/rl2.c | 2 ++ libavformat/rpl.c | 4 +++- libavformat/seek.c | 2 ++ libavformat/utils.c | 2 ++ libavformat/wavdec.c | 2 ++ libavformat/xwma.c | 1 + libavresample/options.c | 2 ++ libavutil/channel_layout.c | 2 ++ libavutil/common.h | 1 + libavutil/cpu.c | 2 ++ 37 files changed, 64 insertions(+), 1 deletion(-) diff --git a/avconv.c b/avconv.c index b2d20dd38a..908a0c75da 100644 --- a/avconv.c +++ b/avconv.c @@ -27,6 +27,8 @@ #include #include #include +#include + #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 + #include "avconv.h" #include "libavfilter/avfilter.h" diff --git a/avplay.c b/avplay.c index d6c71e95e4..96e0cf2d9e 100644 --- a/avplay.c +++ b/avplay.c @@ -23,6 +23,8 @@ #include #include #include +#include + #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 +#include #include #include #include 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 #include #include +#include #include #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 + #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 + #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 + #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 + #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 #include +#include #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 #include #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 + #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 #include +#include #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 +#include #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 +#include #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 + #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 + #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 + #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 + #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 +#include #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 + #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 +#include //#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 + #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 + #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 + #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 + #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 + #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 + #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 +#include + #include "libavutil/avstring.h" #include "libavutil/dict.h" #include "avformat.h" #include "internal.h" -#include #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 + #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 + #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 + #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 +#include #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 + #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 + #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 #include #include +#include #include #include #include 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 + #include "cpu.h" #include "cpu_internal.h" #include "config.h"