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

This commit is contained in:
Vittorio Giovara 2013-11-18 17:02:04 +01:00
parent 3a16ec19d2
commit 6f1ec8edf2

View File

@ -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
* @{