Skip to content

ASDCPLib fails if the size of a BER Length is less than 4-bytes #156

@palemieux

Description

@palemieux

The following claims that BER Lengths must be 4 bytes or longer, but I cannot find any such evidence in the IMF or DCP specifications.

if ( ber_size < MXF_BER_LENGTH )

ST 377-1 recommends that MXF encoders should use 4-byte BER long-form encoding for the Length of all Header Metadata Sets, but does not impose a requirement on shorter lengths.

Recommend:

  • at the very least clarify the comment in the code to state this is an ASCDPLib limitation, not a spec limitation
  • consider removing this limitation
  • consider amending the appropriate IMF and DCP standards to note that BER lengths that are 3-bytes or less might cause compatibility issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions