I have webm containers with VP8 coded video and Opus audio. During playback, VLC reports "opus error: initial Opus header is corrupted" and "opus error: cannot read Opus header". A few minutes with the source code reveals that VLC is looking for an ogg header instead of raw opus packets. Webm/Matroska files should not have an audio stream in some other container like ogg. If I convert the file to webm VP9/Opus, it plays back perfectly. I have examined both byte streams and they are both valid raw Opus packets so it looks like a bug specific to VP8/Opus.
Is this a bug or some other behaviour that is expected? I have example video and can debug source code if needed.