ffmpegdecoder: fix missing include avcodec.h to avoid build failures
ffmpegdecoder.h declares a pointer to AVCodecContext ; which is a type defined in libavcodec/avcodec.h. Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
@@ -25,6 +25,7 @@
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#include <libavcodec/avcodec.h>
|
||||||
#include <libavfilter/avfilter.h>
|
#include <libavfilter/avfilter.h>
|
||||||
#include <libavformat/avformat.h>
|
#include <libavformat/avformat.h>
|
||||||
#include <libswscale/swscale.h>
|
#include <libswscale/swscale.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user