跳到主要内容

av_packet_free

搜索

函数 av_packet_free 

源代码
pub unsafe extern "C" fn av_packet_free(pkt: *mut *mut AVPacket)
展开描述

Free the packet, if the packet is reference counted, it will be unreferenced first.

@param pkt packet to be freed. The pointer will be set to NULL. @note passing NULL is a no-op.