avformat/utils: use av_packet_make_refcounted to ensure packets are ref counted
Simplifies code, while also fixing a potential leak of side data in pkt.
Signed-off-by: NJames Almer <jamrial@gmail.com>
Showing
想要评论请 注册 或 登录
Simplifies code, while also fixing a potential leak of side data in pkt.
Signed-off-by: NJames Almer <jamrial@gmail.com>