]> 105106.c2e0p.group Git - movie_parser.git/blobdiff - Atom.js
Fixed TrackHeaderAtom inheritance chain, which was causing a parsing bug. Made the...
[movie_parser.git] / Atom.js
diff --git a/Atom.js b/Atom.js
index 52e9e59ab28031776fb70bf6bd4c89993c166f1a..2fc62ef76f9cb86fb6b7fab005807e935e8c5379 100644 (file)
--- 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);