GNOME Bugzilla – Bug 745089
qtdemux: gets stuck if file only has a moof and no moov
Last modified: 2015-08-16 13:38:23 UTC
Created attachment 297766 [details] File to reproduce the issue (from dash bbb fragments) In pull mode, qtdemux keeps infinitely pulling the same moof atom if the file has no mfro, mfra or moov, causing a livelock.
Created attachment 297767 [details] [review] qtdemux: avoid looping reading the 'moof' atom forever It gets stuck if it only finds a moof and no mfra/mfro or moov atoms. Skip the moof to continue the parsing to have it either play or error out.
If you have fragmented samples that have moof and moov or mfra/mfro please test this patch. Thanks
commit f40c1f8b09f11dfe597b134af2162c1049563733 Author: Thiago Santos <thiagoss@osg.samsung.com> Date: Tue Feb 24 10:50:52 2015 -0300 qtdemux: avoid looping reading the 'moof' atom forever It gets stuck if it only finds a moof and no mfra/mfro or moov atoms. Skip the moof to continue the parsing to have it either play or error out. https://bugzilla.gnome.org/show_bug.cgi?id=745089