Skip to content

Refactor: Remove Mp4Type #612

@yara-blue

Description

@yara-blue

Mp4 extensions do not have any real value: https://en.wikipedia.org/wiki/MP4_file_format#Filename_extensions

Therefore the mp4 constructor can just pass mp4.

pub fn new_mp4(data: R, hint: Mp4Type) -> Result<Decoder<R>, DecoderError> {

This makes the function more in line with the rest (no need for a hint) and removes confusion from users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingProposed change that would break the public API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions