private static boolean processFtypAtom(ParsableByteArray atomData){
  atomData.setPosition(Atom.HEADER_SIZE);
  int majorBrand=atomData.readInt();
  if (majorBrand == BRAND_QUICKTIME) {
    return true;
  }
  atomData.skipBytes(4);
  while (atomData.bytesLeft() > 0) {
    if (atomData.readInt() == BRAND_QUICKTIME) {
      return true;
    }
  }
  return false;
}

private static boolean processFtypAtom ( ParsableByteArray atomData ) { atomData . setPosition ( Atom . HEADER_SIZE ) ; int majorBrand = atomData . readInt ( ) ; if ( majorBrand == BRAND_QUICKTIME ) { return true ; } atomData . skipBytes ( 4 ) ; while ( atomData . bytesLeft ( ) > 0 ) { if ( atomData . readInt ( ) == BRAND_QUICKTIME ) { return true ; } } return false ; }
process an ftyp atom to determine whether the media is quicktime .
