|
@ -4,15 +4,10 @@ |
|
|
|
|
|
|
|
|
extern "C" { |
|
|
extern "C" { |
|
|
#include <libavutil/pixfmt.h> |
|
|
#include <libavutil/pixfmt.h> |
|
|
#include <libavcodec/avcodec.h> // only needed for AVCodecID |
|
|
#include <libavcodec/avcodec.h> // only needed for AVCodecID and AVPacket |
|
|
|
|
|
|
|
|
typedef struct AVDictionary AVDictionary; |
|
|
|
|
|
typedef struct AVFormatContext AVFormatContext; |
|
|
typedef struct AVFormatContext AVFormatContext; |
|
|
typedef struct AVInputFormat AVInputFormat; |
|
|
typedef struct AVInputFormat AVInputFormat; |
|
|
typedef struct AVCodecContext AVCodecContext; |
|
|
|
|
|
typedef struct AVCodec AVCodec; |
|
|
|
|
|
typedef struct AVPacket AVPacket; |
|
|
|
|
|
typedef struct AVFrame AVFrame; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
#include <memory> |
|
|
#include <memory> |
|
|