Go to the documentation of this file.
20 #ifndef ESSENTIA_FFMPEGAPI_H
21 #define ESSENTIA_FFMPEGAPI_H
24 #include <libavcodec/avcodec.h>
25 #include <libavformat/avformat.h>
26 #include <libavutil/md5.h>
27 #include <libswresample/swresample.h>
28 #include <libavutil/opt.h>
34 #ifndef AV_PKT_FLAG_KEY
35 # define AV_PKT_FLAG_KEY PKT_FLAG_KEY
38 #ifndef AVIO_FLAG_WRITE
39 # define AVIO_FLAG_WRITE URL_WRONLY
40 # define avio_open url_fopen
41 # define avio_close url_fclose
42 # define avformat_write_header(c, o) av_write_header(c)