On 14/01/2021 14:09, James Almer wrote: > Is the ownership of the opaque user data moved from the RaFrame to the > RaPacket to ensure this is safe? If so, why does > rav1e_frame_set_opaque() take a free callback argument? When does it > trigger?
It's a bit of a weird API. The free callback that rav1e_frame_set_opaque takes is only executed in case of a failue inside of rav1e - once the packet is output, it's up to the API caller to free it. - Derek _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".