You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I picked format jpeg.ksy from the format gallery in the devel Web IDE, loaded this JPG sample and the parsing ended up with this:
[Worker] Error TypeError: Cannot read property 'samplingX' of undefined
at exportValue (kaitaiWorker.js:69)
at kaitaiWorker.js:54
at Array.map (<anonymous>)
at exportValue (kaitaiWorker.js:54)
at kaitaiWorker.js:65
at Array.forEach (<anonymous>)
at exportValue (kaitaiWorker.js:65)
at kaitaiWorker.js:65
at Array.forEach (<anonymous>)
at exportValue (kaitaiWorker.js:65)
I picked format jpeg.ksy from the format gallery in the devel Web IDE, loaded this JPG sample and the parsing ended up with this:
I did some digging and found that the problem is related to two subtypes with the same name
component
but contained in different types. The types are apparently accessed just by the name, not by path (kaitaiWorker.js:64
is handling this), so it findstypes/segment_sos/types/component
instead of the correcttypes/segment_sof0/types/component
. And then it tries to access propertysampling_x
, which is present only intypes/segment_sof0/types/component/instances/sampling_x
and not in the othercomponent
, so it ends with an exception.The text was updated successfully, but these errors were encountered: