GNOME Bugzilla – Bug 697841
avidemux deadlocks on file with broken index
Last modified: 2016-02-21 12:16:08 UTC
I have a file that causes avidemux to deadlock; gst_avi_demux_next_data_buffer returns empty buffer (but flow is still OK)
Created attachment 241314 [details] [review] Patch
Could you make the file available? It didn't "pull an empty buffer", did it? It pulled a chunk with size 0, which should be possible to just skip, no? Though to be honest, I'm not sure I understand the entire gst_avi_demux_stream_scan() function. As I read it, it starts at position 0, where it reads the RIFF chunk, which is roughly size==filesize-8, and then just skips to the end instead of indexing the data chunks. Or maybe I'm just confused.
What you're saying makes sense, I need to find the file and debug this.
Please re-open when you find the file, thanks! :) Might also have been fixed independently in the meantime..