Skip to content

Additional ref argumented functions? #352

@Meetem

Description

@Meetem

All of the functions now use double pointers for the fields, like avformat_open_input's AVFormatContext**, this is error prone as requires to manually create field on the stack and then update the field in the class (like in the example).
More robust version could be using ref AVFormatContext* or out AVFormatContext* for such a fields.

I know this might be complicated to check on C side, wether it's a double pointer or output write, but making even a draft version can help a lot.

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