From 981d6fc44428897455cb5aba6441752123510a3e Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 17 Mar 2008 09:46:10 +0000 Subject: I'm getting kind of tired of ffmpeg not making sure thier internal symbols are defined correctly\! --- miavd/ffframe.h | 1 + miavd/ffmpeg_encoder.cc | 3 +++ miavd/ffoutput.h | 2 -- miavd/stream.h | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) (limited to 'miavd') 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 extern "C" { #include #include 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 +#include +extern "C" { #include #include +} #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 - extern "C" { #include #include 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 extern "C" { #include #include -- cgit v1.2.3