deps/media-playback: Always check for new frame first
Fixes potential decoding errors with FFmpeg's new decode API. Because avcodec_send_packet may process multiple packets, you must call avcodec_receive_frame continually until no more frames are left.
Showing
想要评论请 注册 或 登录