Opusinfo did not detect that there were other packets in the page containing the Opus headers. However opusfile rejects such a file with only OP_EBADHEADER as feedback.
This pull request detects such unacceptable extra packets and adds a warning to opusinfo.
Good catch! I've committed a slightly-modified version, with a shorter warning message, and a longer commit message. Merged in 95d049532091f675e3622099d7b09acc776da993.
Opusinfo did not detect that there were other packets in the page containing the Opus headers. However opusfile rejects such a file with only OP_EBADHEADER as feedback.
This pull request detects such unacceptable extra packets and adds a warning to opusinfo.
Cheers,
Matthew