WaitForMultipleObjects 降低cpu
下面代码通过WaitForMultipleObjects防止线程空跑,而降低了CPUint push_packet(AVPacket* packet){AVPacket* t_packet = (AVPacket*)av_malloc(sizeof(AVPacket));;av_init_packet(t_packet);int nRet = av_copy_packet(