[FFmpeg-cvslog] Add missing #includes for *INT64_MAX and *INT64_C
Diego Biurrun
git at videolan.org
Sun Nov 24 05:32:40 CET 2013
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sat Nov 23 21:32:55 2013 +0100| [8f8bc92365a943e96cc08b5369408c20f35193c7] | committer: Diego Biurrun
Add missing #includes for *INT64_MAX and *INT64_C
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8f8bc92365a943e96cc08b5369408c20f35193c7
---
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 b2d20dd..908a0c7 100644
--- a/avconv.c
+++ b/avconv.c
@@ -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 ffccd93..892db00 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"
diff --git a/avplay.c b/avplay.c
index d6c71e9..96e0cf2 100644
--- a/avplay.c
+++ b/avplay.c
@@ -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 d6eb981..3f1c667 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 6a05938..426a652 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 aef4929..dec2197 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 7ac78b0..112c2ca 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 41eefe2..2e03ce3 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 74a3468..414be90 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 3dc2780..8b3a4b6 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 6e755f6..511f1f3 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 b76ddf0..e662c84 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 36a5653..2b57540 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 0c7023f..5f62ffd 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 3e9f41d..502f360 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 abcc424..d4bffb3 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 0041ca4..b994cc1 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 c71d545..6f80d21 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 e6730eb..acc1dc4 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 3dd4273..f9e9678 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 f3a35f8..cc645a5 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 99ba23f..9b019e1 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 8f7153a..43a1647 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 85a12d6..13d5b03 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 a947c67..91aded6 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 acce86c..2d3862d 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 e01c365..e96cde7 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 ab33aab..5d30bf8 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 42b47f8..0b22d8a 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 e17cdcc..9be8db9 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 377fdd9..ea1d927 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 a3471fd..f65a66a 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 f4ff815..45d74de 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 7859ec6..6249f90 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 79e398e..253c495 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 caa6b19..eb40e12 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 c96dfa9..25af4c5 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"
More information about the ffmpeg-cvslog
mailing list