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

pull/46/merge
Vittorio Giovara 11 years ago
parent 3a16ec19d2
commit 6f1ec8edf2
  1. 9
      libavcodec/avcodec.h

@ -36,15 +36,16 @@
#include "libavutil/dict.h" #include "libavutil/dict.h"
#include "libavutil/frame.h" #include "libavutil/frame.h"
#include "libavutil/log.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/pixfmt.h"
#include "libavutil/rational.h" #include "libavutil/rational.h"
#include "version.h" #include "version.h"
#if FF_API_FAST_MALLOC
// to provide fast_*alloc
#include "libavutil/mem.h"
#endif
/** /**
* @defgroup libavc Encoding/Decoding Library * @defgroup libavc Encoding/Decoding Library
* @{ * @{

Loading…
Cancel
Save