#ifndef FFMPEG_AVFORMAT_H
#define FFMPEG_AVFORMAT_H
-#define LIBAVFORMAT_VERSION_INT ((52<<16)+(6<<8)+0)
-#define LIBAVFORMAT_VERSION 52.6.0
+#define LIBAVFORMAT_VERSION_TRIPLET 52,7,0
+
+#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_TRIPLET)
+#define LIBAVFORMAT_VERSION AV_VERSION(LIBAVFORMAT_VERSION_TRIPLET)
#define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT
#define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
struct AVCodecParserContext *parser;
int64_t cur_dts;
- int last_IP_duration;
- int64_t last_IP_pts;
+ int last_IP_duration[2];
+ int64_t last_IP_pts[2];
/* av_seek_frame() support */
AVIndexEntry *index_entries; /**< only used if the format does not
support seeking natively */