[FFmpeg-cvslog] avcodec.h: include version.h before using version macro

Vittorio Giovara git at videolan.org
Tue Nov 19 18:30:05 CET 2013


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Mon Nov 18 17:02:04 2013 +0100| [6f1ec8edf2416441e2348f3a0915c9fee179d7da] | committer: Vittorio Giovara

avcodec.h: include version.h before using version macro

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

 libavcodec/avcodec.h |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index e1315c2..4ce6d61 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -36,15 +36,16 @@
 #include "libavutil/dict.h"
 #include "libavutil/frame.h"
 #include "libavutil/log.h"
-#if FF_API_FAST_MALLOC
-// to provide fast_*alloc
-#include "libavutil/mem.h"
-#endif
 #include "libavutil/pixfmt.h"
 #include "libavutil/rational.h"
 
 #include "version.h"
 
+#if FF_API_FAST_MALLOC
+// to provide fast_*alloc
+#include "libavutil/mem.h"
+#endif
+
 /**
  * @defgroup libavc Encoding/Decoding Library
  * @{



More information about the ffmpeg-cvslog mailing list