Skip to content

sh_from_leading affects are_seq_headers_consistent() #5392

Description

@nikshostak

What version / commit were you testing with?

v1.0.0-162-gcd2ba5446

What steps will reproduce the problem?

When avmdec processes a Leading frame with a sequence header (a copy of current SH), it marks this copy of SH as sh_from_leading=1.
Later avmdec compares the copy of SH to the current SH with are_seq_headers_consistent() and reports an error "Sequence Header changed at %s" while the only difference is sh_from_leading.

Suggested fix

Move int sh_from_leading to the end of definition of the struct SequenceHeader
Then its value will not affect comparison of sequence headers via are_seq_headers_consistent()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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