From: Jer Noble Date: Fri, 7 Dec 2012 22:22:08 +0000 (-0800) Subject: Fixed TrackHeaderAtom inheritance chain, which was causing a parsing bug. Made the... X-Git-Url: http://id.pley.net/movie_parser.git/commitdiff_plain/49dd866a06288856e4a1d5df3f00a6a0fccea2fa?ds=inline;hp=578248d58df5e9cb5c8de2ea7cabff4560db9fa6 Fixed TrackHeaderAtom inheritance chain, which was causing a parsing bug. Made the demo page Firefox compatible. --- diff --git a/Atom.js b/Atom.js index 52e9e59..2fc62ef 100644 --- a/Atom.js +++ b/Atom.js @@ -332,7 +332,7 @@ var TrackHeaderAtom = function(buffer, offset) { this.super(TrackHeaderAtom).constructor.call(this, buffer, offset); } -TrackHeaderAtom.prototype = Object.create(Atom.prototype); +TrackHeaderAtom.prototype = Object.create(VersionFlagsAtom.prototype); TrackHeaderAtom.prototype.setDefaults = function() { this.super(TrackHeaderAtom).setDefaults.call(this); diff --git a/AtomTester.html b/AtomTester.html index d0bcbf1..2617264 100644 --- a/AtomTester.html +++ b/AtomTester.html @@ -3,6 +3,10 @@ AtomTester