[Bug 722567] wavparse: loops on incorrect wav file

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jan 20 01:15:40 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=722567
  GStreamer | gst-plugins-good | 1.2.2

--- Comment #2 from Richard Röjfors <richard.rojfors at gmail.com> 2014-01-20 09:15:38 UTC ---
I'll dig up a test file.

The RIFF chunk was OK. I think there is "just" some scrambled garbage padded to
the end of the file. The parser tries to parse the random data as a chunk, the
type is unknown and it just tries to skip. The random data happen to result in
a bad size, which causes the flush amount to be 0.

Since it has a valid RIFF chunk I think it would be good not to "error out",
but rather just skip parsing the rest of the file.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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