FFMPEG: Fix build for newer versions of the library.

Thanks to Tim Harder for the patch.
This commit is contained in:
bgk 2012-03-25 08:14:31 +00:00
parent 092f67b0e8
commit d9062bbcd6
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ extern "C" {
#include <libavformat/avformat.h> #include <libavformat/avformat.h>
#include <libswscale/swscale.h> #include <libswscale/swscale.h>
#include <libavcodec/opt.h> #include <libavcodec/opt.h>
#include <libavutil/mathematics.h>
#ifndef AV_PKT_FLAG_KEY #ifndef AV_PKT_FLAG_KEY
#define AV_PKT_FLAG_KEY PKT_FLAG_KEY #define AV_PKT_FLAG_KEY PKT_FLAG_KEY
#endif #endif