Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.
This repository was archived by the owner on May 30, 2023. It is now read-only.

AVRounding can't be a rustified enum #83

@kornelski

Description

@kornelski

The crate builds all enums as Rust enums (.rustified_enum("*")), but AVRounding is expected to be OR-ed together like AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX, which is not allowed (and UB if you tried anyway).

It could use the bitflags crate instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions