pub unsafe extern "C" fn av_packet_side_data_to_frame(
sd: *mut *mut *mut AVFrameSideData,
nb_sd: *mut c_int,
src: *const AVPacketSideData,
flags: c_uint,
) -> c_int展开描述
Add a new frame side data entry to an array based on existing packet side data, if a matching type exists for frame side data.
@param flags Some combination of AV_FRAME_SIDE_DATA_FLAG_* flags, or 0. @retval >= 0 Success @retval AVERROR(EINVAL) The packet side data type does not have a matching frame side data type. @retval AVERROR(ENOMEM) Failed to add a side data entry to the array, or similar.