Commit eb877f0c by andrewlewis Committed by Oliver Woodman

Handle udta as a leaf atom.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=119532634
parent 7170ff38
...@@ -456,7 +456,7 @@ public final class Mp4Extractor implements Extractor, SeekMap { ...@@ -456,7 +456,7 @@ public final class Mp4Extractor implements Extractor, SeekMap {
|| atom == Atom.TYPE_stsd || atom == Atom.TYPE_stts || atom == Atom.TYPE_stss || atom == Atom.TYPE_stsd || atom == Atom.TYPE_stts || atom == Atom.TYPE_stss
|| atom == Atom.TYPE_ctts || atom == Atom.TYPE_elst || atom == Atom.TYPE_stsc || atom == Atom.TYPE_ctts || atom == Atom.TYPE_elst || atom == Atom.TYPE_stsc
|| atom == Atom.TYPE_stsz || atom == Atom.TYPE_stco || atom == Atom.TYPE_co64 || atom == Atom.TYPE_stsz || atom == Atom.TYPE_stco || atom == Atom.TYPE_co64
|| atom == Atom.TYPE_tkhd || atom == Atom.TYPE_ftyp || atom == Atom.TYPE_meta; || atom == Atom.TYPE_tkhd || atom == Atom.TYPE_ftyp || atom == Atom.TYPE_udta;
} }
/** /**
...@@ -464,8 +464,7 @@ public final class Mp4Extractor implements Extractor, SeekMap { ...@@ -464,8 +464,7 @@ public final class Mp4Extractor implements Extractor, SeekMap {
*/ */
private static boolean shouldParseContainerAtom(int atom) { private static boolean shouldParseContainerAtom(int atom) {
return atom == Atom.TYPE_moov || atom == Atom.TYPE_trak || atom == Atom.TYPE_mdia return atom == Atom.TYPE_moov || atom == Atom.TYPE_trak || atom == Atom.TYPE_mdia
|| atom == Atom.TYPE_minf || atom == Atom.TYPE_stbl || atom == Atom.TYPE_edts || atom == Atom.TYPE_minf || atom == Atom.TYPE_stbl || atom == Atom.TYPE_edts;
|| atom == Atom.TYPE_udta;
} }
private static final class Mp4Track { private static final class Mp4Track {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment