Skip to content

Commit

Permalink
avcodec.h: include version.h before using version macro
Browse files Browse the repository at this point in the history
  • Loading branch information
kodawah committed Nov 19, 2013
1 parent 3a16ec1 commit 6f1ec8e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions libavcodec/avcodec.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
* @{
Expand Down

0 comments on commit 6f1ec8e

Please sign in to comment.