[Bug 779515] vorbisdec: Reset decoder in more situations

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Mar 3 09:56:26 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=779515

--- Comment #1 from Edward Hervey <bilboed at bilboed.com> ---
Created attachment 347121
  --> https://bugzilla.gnome.org/attachment.cgi?id=347121&action=edit
vorbisdec: Reset decoder in more situations

This is a followup commit to b95725c37e70ad3c1ec8dadb401388db375df482

* Resetting the decoder should only happen when we get a new initialization
header (0x01) and not on the other headers
* The initialized variable only gets set to TRUE once all headers have
been parsed. Also check if the vorbis_info struct has been properly resetted
also. Failure to do that would cause vorbisdec to error if it got
two initialization header in a row (the first would configure the underlying
library and the second one would error out because it's already initialized)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list