diff options
Diffstat (limited to 'miavd')
-rw-r--r-- | miavd/ffframe.h | 1 | ||||
-rw-r--r-- | miavd/ffmpeg_encoder.cc | 3 | ||||
-rw-r--r-- | miavd/ffoutput.h | 2 | ||||
-rw-r--r-- | miavd/stream.h | 1 |
4 files changed, 5 insertions, 2 deletions
diff --git a/miavd/ffframe.h b/miavd/ffframe.h index fec820d..d628962 100644 --- a/miavd/ffframe.h +++ b/miavd/ffframe.h @@ -27,6 +27,7 @@ #ifndef __FFMPEGPP_FRAME_H__ #define __FFMPEGPP_FRAME_H__ +#include <stdint.h> extern "C" { #include <ffmpeg/avformat.h> #include <ffmpeg/avcodec.h> diff --git a/miavd/ffmpeg_encoder.cc b/miavd/ffmpeg_encoder.cc index 4f58f08..b80b518 100644 --- a/miavd/ffmpeg_encoder.cc +++ b/miavd/ffmpeg_encoder.cc @@ -30,8 +30,11 @@ #include "miav_config.h" #include <math.h> +#include <stdint.h> +extern "C" { #include <ffmpeg/avcodec.h> #include <ffmpeg/avformat.h> +} #define AUDIO_BUFFER_SIZE DV_AUDIO_MAX_SAMPLES //(DV_AUDIO_MAX_SAMPLES * sizeof(int16_t)) diff --git a/miavd/ffoutput.h b/miavd/ffoutput.h index 8074b83..922f7d2 100644 --- a/miavd/ffoutput.h +++ b/miavd/ffoutput.h @@ -27,9 +27,7 @@ #ifndef __MIAV_FFOUTPUT_H__ #define __MIAV_FFOUTPUT_H__ -#define __STDC_CONSTANT_MACROS #include <stdint.h> - extern "C" { #include <ffmpeg/avformat.h> #include <ffmpeg/avcodec.h> diff --git a/miavd/stream.h b/miavd/stream.h index a929243..15f7b0a 100644 --- a/miavd/stream.h +++ b/miavd/stream.h @@ -27,6 +27,7 @@ #ifndef __FFMPEGPP_STREAM_H__ #define __FFMPEGPP_STREAM_H__ +#include <stdint.h> extern "C" { #include <ffmpeg/avformat.h> #include <ffmpeg/avcodec.h> |