FFMPEG: Fix build for newer versions of the library.
Thanks to Tim Harder for the patch.
This commit is contained in:
parent
092f67b0e8
commit
d9062bbcd6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue