avcodec.h: include version.h before using version macro
authorVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 18 Nov 2013 16:02:04 +0000 (17:02 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 19 Nov 2013 13:48:36 +0000 (14:48 +0100)
libavcodec/avcodec.h

index e1315c2..4ce6d61 100644 (file)
 #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
  * @{