[FFmpeg-cvslog] Do not include rational.h in avutil.h

Mans Rullgard git at videolan.org
Mon Jul 4 00:53:50 CEST 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sat Jun  4 13:05:35 2011 +0100| [e91709ca178800faf7f6ce228eb260a6efaa2451] | committer: Mans Rullgard

Do not include rational.h in avutil.h

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e91709ca178800faf7f6ce228eb260a6efaa2451
---

 libavcodec/avcodec.h   |    1 +
 libavfilter/avfilter.h |    1 +
 libavutil/avutil.h     |    1 -
 3 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index fbd7039..9502a00 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -30,6 +30,7 @@
 #include "libavutil/samplefmt.h"
 #include "libavutil/avutil.h"
 #include "libavutil/cpu.h"
+#include "libavutil/rational.h"
 
 #include "libavcodec/version.h"
 
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 33e93e2..b84539c 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -24,6 +24,7 @@
 
 #include "libavutil/avutil.h"
 #include "libavutil/samplefmt.h"
+#include "libavutil/rational.h"
 
 #define LIBAVFILTER_VERSION_MAJOR  2
 #define LIBAVFILTER_VERSION_MINOR  4
diff --git a/libavutil/avutil.h b/libavutil/avutil.h
index 53dba00..0cdeef2 100644
--- a/libavutil/avutil.h
+++ b/libavutil/avutil.h
@@ -121,7 +121,6 @@ char av_get_picture_type_char(enum AVPictureType pict_type);
 
 #include "common.h"
 #include "error.h"
-#include "rational.h"
 #include "log.h"
 #include "pixfmt.h"
 



More information about the ffmpeg-cvslog mailing list