提交 2ca8b42a 编写于 作者: Z Zhang Rui

ios/VideoToolbox: serial should be int

上级 4928dcb7
......@@ -47,7 +47,7 @@ typedef struct VTBPicture {
typedef struct sort_queue {
double dts;
double pts;
double serial;
int serial;
double sort;
int64_t width;
int64_t height;
......@@ -77,7 +77,7 @@ typedef struct VideoToolBoxContext {
int32_t m_max_ref_frames;
bool m_convert_bytestream;
bool m_convert_3byteTo4byteNALSize;
double serial;
int serial;
volatile double last_sort;
bool dealloced;
int m_buffer_deep;
......
......@@ -215,7 +215,7 @@ static int vtb_queue_picture(
static sort_queue *CreateDictionaryWithPkt(double time, double dts, double pts,double pkt_serial)
static sort_queue *CreateDictionaryWithPkt(double time, double dts, double pts, int pkt_serial)
{
sort_queue *frame = (sort_queue *)mallocz(sizeof(sort_queue));
frame->sort = time;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册