• Edward Hervey's avatar
    vorbisdec: Improve "new headers while initialized" handling · aab5cccc
    Edward Hervey authored
    If new headers arrive after we are initialized, we need to make
    sure that they are indeed valid.
    
    A vorbis bitstream always begins with three header packets and must
    be in order.
    
    Also some streams have unframed (invalid?) headers that might
    confuse and disrupt the decoding process.
    
    Therefore if ever we see new headers, we accumulate them and once
    we get a non-header packet we check them to make sure that:
    * We have at least 3 headers
    * They are the expected ones (identification, comments and setup)
    * They are in order
    * Any other "header" is ignored
    
    If those conditions are met, we reset and reconfigure the decoder
    
    https://bugzilla.gnome.org/show_bug.cgi?id=784530
    aab5cccc
Name
Last commit
Last update
common @ 3fa2c9e3 Loading commit data...
docs Loading commit data...
ext Loading commit data...
gst Loading commit data...
gst-libs Loading commit data...
hooks Loading commit data...
m4 Loading commit data...
pkgconfig Loading commit data...
po Loading commit data...
sys Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.static-linking Loading commit data...
RELEASE Loading commit data...
REQUIREMENTS Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gst-plugins-base.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...