aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2013-11-18 17:02:04 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2013-11-19 14:48:36 +0100
commit6f1ec8edf2416441e2348f3a0915c9fee179d7da (patch)
tree4a0dff4b4f66b46d6d3ad7fc5810b35e1880c4b9
parent3a16ec19d2426457419cb8a7304f97982699efda (diff)
downloadffmpeg-6f1ec8edf2416441e2348f3a0915c9fee179d7da.tar.gz
avcodec.h: include version.h before using version macro
-rw-r--r--libavcodec/avcodec.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index e1315c2eb4..4ce6d61cd2 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
* @{